Skip to content

Commit 99a1704

Browse files
author
Olivier Saut
committed
Typos in the example
1 parent 507ca42 commit 99a1704

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/arc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
* With simple pipes, without ARC, a copy would have to be made for each task.
1919
*
2020
* ~~~
21-
* # extern mod std;
22-
* # use std::arc;
21+
* extern mod std;
22+
* use std::arc;
2323
* let numbers=vec::from_fn(100, |ind| (ind as float)*rand::random());
2424
* let shared_numbers=arc::ARC(numbers);
2525
*

0 commit comments

Comments
 (0)