Skip to content

Commit ea21e9e

Browse files
authored
Rollup merge of rust-lang#143340 - nabijaczleweli:awhile, r=mati865
awhile -> a while where appropriate
2 parents dced84a + 1959337 commit ea21e9e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

std/src/sync/mpmc/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ use crate::time::{Duration, Instant};
187187
/// sender.send(expensive_computation()).unwrap();
188188
/// });
189189
///
190-
/// // Do some useful work for awhile
190+
/// // Do some useful work for a while
191191
///
192192
/// // Let's see what that answer was
193193
/// println!("{:?}", receiver.recv().unwrap());

std/src/sync/mpsc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ pub enum TrySendError<T> {
509509
/// sender.send(expensive_computation()).unwrap();
510510
/// });
511511
///
512-
/// // Do some useful work for awhile
512+
/// // Do some useful work for a while
513513
///
514514
/// // Let's see what that answer was
515515
/// println!("{:?}", receiver.recv().unwrap());

0 commit comments

Comments
 (0)