Skip to content

Commit 091b981

Browse files
committed
auto merge of #18253 : steveklabnik/rust/small_doc_fixes, r=huonw
All these stars aren't needed anymore.
2 parents 37f2db7 + 4a74af6 commit 091b981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/intro.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ fn main() {
471471
spawn(proc() {
472472
let mut array = number.lock();
473473
474-
(*(*array).get_mut(i)) += 1;
474+
(*array)[i] += 1;
475475
476476
println!("numbers[{}] is {}", i, (*array)[i]);
477477
});

0 commit comments

Comments
 (0)