Skip to content

Commit 17d92c4

Browse files
awhile -> a while where appropriate
1 parent fdad98d commit 17d92c4

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ extern "C" void LLVMRustSetModuleCodeModel(LLVMModuleRef M,
12751275
//
12761276
// Otherwise I'll apologize in advance, it probably requires a relatively
12771277
// significant investment on your part to "truly understand" what's going on
1278-
// here. Not saying I do myself, but it took me awhile staring at LLVM's source
1278+
// here. Not saying I do myself, but it took me a while staring at LLVM's source
12791279
// and various online resources about ThinLTO to make heads or tails of all
12801280
// this.
12811281

library/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());

library/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());

src/tools/rust-analyzer/crates/ide/src/file_structure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ macro_rules! mcexp {
329329
#[deprecated]
330330
fn obsolete() {}
331331
332-
#[deprecated(note = "for awhile")]
332+
#[deprecated(note = "for a while")]
333333
fn very_obsolete() {}
334334
335335
// region: Some region name

tests/ui/process/core-run-destroy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub fn sleeper() -> Child {
3737
pub fn sleeper() -> Child {
3838
// There's a `timeout` command on windows, but it doesn't like having
3939
// its output piped, so instead just ping ourselves a few times with
40-
// gaps in between so we're sure this process is alive for awhile
40+
// gaps in between so we're sure this process is alive for a while
4141
t!(Command::new("ping").arg("127.0.0.1").arg("-n").arg("1000").spawn())
4242
}
4343

0 commit comments

Comments
 (0)