mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
auto merge of #18253 : steveklabnik/rust/small_doc_fixes, r=huonw
All these stars aren't needed anymore.
This commit is contained in:
commit
091b9811c8
@ -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]);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user