Auto merge of #28832 - sarcas:docs-uneeded-done-in-library-example, r=steveklabnik

"Rust Inside Other Languages" in the Rust book includes a library example. The reference specifies printing "done!" when the code finishes running, and the language examples (Ruby, Python, JS) all do this in their code. 

However, the Rust library example code *also* does this, so that the examples as written would output "done!" twice.

This commit removes the "done!" from the Rust example code to tidy up the output to match expectations.
This commit is contained in:
bors 2015-10-04 14:18:28 +00:00
commit 1dcbd35710

View File

@ -119,7 +119,6 @@ fn process() {
println!("Thread finished with count={}",
h.join().map_err(|_| "Could not join a thread!").unwrap());
}
println!("done!");
}
```