rust-rustlings-Gege-Wang/exercises/variables
github-classroom[bot] 81b66a6126
Initial commit
2023-04-02 07:52:18 +00:00
..
README.md Initial commit 2023-04-02 07:52:18 +00:00
variables1.rs Initial commit 2023-04-02 07:52:18 +00:00
variables2.rs Initial commit 2023-04-02 07:52:18 +00:00
variables3.rs Initial commit 2023-04-02 07:52:18 +00:00
variables4.rs Initial commit 2023-04-02 07:52:18 +00:00
variables5.rs Initial commit 2023-04-02 07:52:18 +00:00
variables6.rs Initial commit 2023-04-02 07:52:18 +00:00

README.md

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