Typo in Chapter 3. under "Scalar Types" Heading...
URL to the section(s) of the book with this problem:
https://doc.rust-lang.org/book/ch03-02-data-types.html#scalar-types
Description of the problem:
A scalar type represents a single value. Rust has four primary scalar types: integers, floating-point numbers, Booleans, and characters. You may recognize these from other programming languages. Let’s jump into how they work in Rust.
Suggested fix:
A scalar type represents a single value. Rust has five primary scalar types: integers, floating-point numbers, Booleans, and characters. You may recognize these from other programming languages. Let’s jump into how they work in Rust.
I'm pretty sure that whould fix it. ❤️
Please be gentle with me, i'm learning Rust RN.
There is no error in the original text, there are four primary scalar types.
They are integers, floating-point numbers, Booleans, and characters.
Sorry i misread the floating-point numbers part.
I read them as floating-point and numbers.
My fault.