Skip to main content

One doc tagged with "boolean"

View all tags

Fundamental Data Types: Scalar Types

After learning about variables, mutability, and shadowing, the next logical step is to explore the different types of data that you can store in those variables. Rust is a statically typed language, which means that every value has a type, and the compiler must know the type of every variable at compile time.