diff --git a/src/cpu.rs b/src/cpu.rs index 70918be..e0e00e2 100644 --- a/src/cpu.rs +++ b/src/cpu.rs @@ -441,7 +441,7 @@ impl Cpu { if !epps.iter().any(|avail_epp| avail_epp == epp) { bail!( - "EPP value '{epp}' is not availabile for {self}. available EPP values: {epps}", + "EPP value '{epp}' is not available for {self}. available EPP values: {epps}", epps = epps.join(", "), ); } diff --git a/src/daemon.rs b/src/daemon.rs index 9e0370a..e57aba0 100644 --- a/src/daemon.rs +++ b/src/daemon.rs @@ -110,7 +110,7 @@ struct CpuLog { /// CPU usage between 0-1, a percentage. usage: f64, - /// CPU temperature in celcius. + /// CPU temperature in celsius. temperature: f64, } @@ -261,7 +261,7 @@ impl Daemon { } } - // If we can't deterine the discharge rate, that means that + // If we can't determine the discharge rate, that means that // we were very recently started. Which is user activity. None => { interval *= 2;