From 4dfc11d74ab02ac5765ae5d08fb750c91f4744b4 Mon Sep 17 00:00:00 2001 From: Hunter Kvalevog Date: Fri, 2 Oct 2026 21:53:51 -0500 Subject: rustlings: move to rust/ --- rust/rustlings/exercises/01_variables/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 rust/rustlings/exercises/01_variables/README.md (limited to 'rust/rustlings/exercises/01_variables/README.md') diff --git a/rust/rustlings/exercises/01_variables/README.md b/rust/rustlings/exercises/01_variables/README.md new file mode 100644 index 0000000..5ba2efc --- /dev/null +++ b/rust/rustlings/exercises/01_variables/README.md @@ -0,0 +1,9 @@ +# Variables + +In Rust, variables are immutable by default. +When a variable is immutable, once a value is bound to a name, you can't change that value. +You can make them mutable by adding `mut` in front of the variable name. + +## Further information + +- [Variables and Mutability](https://doc.rust-lang.org/book/ch03-01-variables-and-mutability.html) -- cgit v1.2.3