Fallout from stabilization

This commit is contained in:
Aaron Turon
2015-01-05 21:59:45 -08:00
parent f67b81e8d4
commit caca9b2e71
97 changed files with 245 additions and 248 deletions

View File

@@ -303,8 +303,8 @@ macro_rules! try {
/// # fn long_running_task() {}
/// # fn calculate_the_answer() -> int { 42i }
///
/// Thread::spawn(move|| { long_running_task(); tx1.send(()) }).detach();
/// Thread::spawn(move|| { tx2.send(calculate_the_answer()) }).detach();
/// Thread::spawn(move|| { long_running_task(); tx1.send(()).unwrap(); });
/// Thread::spawn(move|| { tx2.send(calculate_the_answer()).unwrap(); });
///
/// select! (
/// _ = rx1.recv() => println!("the long running task finished first"),