Skip to content

Commit

Permalink
Improve code in the intro.
Browse files Browse the repository at this point in the history
All these stars aren't needed anymore.
  • Loading branch information
steveklabnik committed Oct 23, 2014
1 parent 8a40854 commit 4a74af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/intro.md
Expand Up @@ -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]);
});
Expand Down

5 comments on commit 4a74af6

@bors
Copy link
Contributor

@bors bors commented on 4a74af6 Oct 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from huonw
at steveklabnik@4a74af6

@bors
Copy link
Contributor

@bors bors commented on 4a74af6 Oct 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging steveklabnik/rust/small_doc_fixes = 4a74af6 into auto

@bors
Copy link
Contributor

@bors bors commented on 4a74af6 Oct 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

steveklabnik/rust/small_doc_fixes = 4a74af6 merged ok, testing candidate = 091b981

@bors
Copy link
Contributor

@bors bors commented on 4a74af6 Oct 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 4a74af6 Oct 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 091b981

Please sign in to comment.