diff --git a/challenges/mutable-variables/description.md b/challenges/mutable-variables/description.md index dfae6ab..609a736 100644 --- a/challenges/mutable-variables/description.md +++ b/challenges/mutable-variables/description.md @@ -6,7 +6,7 @@ In this challenge, you will declare and use **mutable variables in Rust**. You w ## Your task -- Declare variable `text` with an initial value of anything you like. Use `let mut` to make it mutable. +- Declare variable `text` with an initial value of `"hello"`. Use `let mut` to make it mutable. - Re assign the variable `text` to something else of your choice. - Return the final value of the variable. diff --git a/challenges/mutable-variables/src/starter.rs b/challenges/mutable-variables/src/starter.rs index 9d67e5b..6f09b2d 100644 --- a/challenges/mutable-variables/src/starter.rs +++ b/challenges/mutable-variables/src/starter.rs @@ -1,5 +1,5 @@ pub fn mutating_variables() -> String { - // 1. Declare a mutable variable `text` with any value + // 1. Declare a mutable variable `text` with value "hello" // 2. Reassign the value of `text` to a new value