Improve code in the intro.

All these stars aren't needed anymore.
This commit is contained in:
Steve Klabnik 2014-10-23 07:35:34 -04:00
parent 8a40854660
commit 4a74af62c6

View file

@ -471,7 +471,7 @@ fn main() {
spawn(proc() {
let mut array = number.lock();
(*(*array).get_mut(i)) += 1;
(*array)[i] += 1;
println!("numbers[{}] is {}", i, (*array)[i]);
});