This repository has been archived on 2025-01-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
rustlings/exercises/01_variables
2024-10-15 16:07:47 +02:00
..
2024-10-15 16:07:47 +02:00
2024-10-15 16:07:47 +02:00
2024-10-15 16:07:47 +02:00
2024-10-15 16:07:47 +02:00
2024-10-15 16:07:47 +02:00
2024-10-15 16:07:47 +02:00
2024-10-15 16:07:47 +02:00

Variables

In Rust, variables are immutable by default. When a variable is immutable, once a value is bound to a name, you cant change that value. You can make them mutable by adding mut in front of the variable name.

Further information