summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaurav <40655135+saurav-2104@users.noreply.github.com>2020-04-12 23:05:20 +0530
committerGitHub <noreply@github.com>2020-04-12 19:35:20 +0200
commitabd0ec379c642a8dffefbbfb60791a96ccc0988e (patch)
treee9ae61af2821e31f904a937b4bbe2137364cabb0
parentcfb98a5617a4276080bcc431aef8d46cc6a67808 (diff)
chore: update variables5.rs book link (#351)
chore: update variables5.rs book link chore: update variables5.rs book link
-rw-r--r--Cargo.lock2
-rw-r--r--info.toml3
2 files changed, 3 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index a08dee5..52c8ed4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -592,7 +592,7 @@ dependencies = [
[[package]]
name = "rustlings"
-version = "2.2.1"
+version = "3.0.0"
dependencies = [
"assert_cmd 0.11.1 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
diff --git a/info.toml b/info.toml
index 632e6ee..4fbf9fd 100644
--- a/info.toml
+++ b/info.toml
@@ -52,7 +52,8 @@ because we want to assign a different typed value to an existing variable. Somet
you may also like to reuse existing variable names because you are just converting
values to different types like in this exercise.
Fortunately Rust has a powerful solution to this problem: 'Shadowing'!
-You can read more about 'Shadowing' in the book's section 'Variables and Mutability'.
+You can read more about 'Shadowing' in the book's section 'Variables and Mutability':
+https://doc.rust-lang.org/book/ch03-01-variables-and-mutability.html#shadowing
Try to solve this exercise afterwards using this technique."""
# IF