Skip to content

Commit 99315c7

Browse files
committed
Typo fixes
1 parent a6bbb86 commit 99315c7

File tree

1 file changed

+3
-3
lines changed
  • collector/src/compile/execute

1 file changed

+3
-3
lines changed

collector/src/compile/execute/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,12 @@ fn performance_cores() -> Option<&'static String> {
156156
None
157157
}
158158
#[cfg(target_os = "macos")]
159-
// To my knoweladge, MacOS does not run on hardware with P/E cores, so this can simply always return None.
159+
// To my knowledge, macOS does not run on hardware with P/E cores, so this can simply always return None.
160160
fn performance_cores() -> Option<&'static String> {
161161
None
162162
}
163163
#[cfg(not(any(target_os = "windows", target_os = "macos", target_os = "linux")))]
164-
// I don't think rustc-perf runs on OSs other than Linux, Windows, or Mac, but I'll still leave a stub here just in case.
164+
// I don't think rustc-perf runs on OSes other than Linux, Windows, or Mac, but I'll still leave a stub here just in case.
165165
fn performance_cores() -> Option<&'static String> {
166166
None
167167
}
@@ -176,7 +176,7 @@ fn run_on_p_cores(path: &Path, cpu_list: &str) -> Command {
176176
}
177177
#[cfg(not(target_os = "linux"))]
178178
fn run_on_p_cores(_path: &Path, _cpu_list: &str) -> Command {
179-
todo!("Can't run comamnds on the P cores on this platofmr")
179+
todo!("Can't run comamnds on the P cores on this platform")
180180
}
181181
impl<'a> CargoProcess<'a> {
182182
pub fn incremental(mut self, incremental: bool) -> Self {

0 commit comments

Comments
 (0)