docs: fix typos

Found via `typos --format brief`
This commit is contained in:
Kian-Meng Ang
2023-02-02 12:26:17 +08:00
parent a12ac62722
commit a0e2eb38ae
7 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ pub struct DockerData {
}
impl DockerData {
/// Use docker stats to caluclate current cpu usage
/// Use docker stats to calculate current cpu usage
#[allow(clippy::cast_precision_loss)]
fn calculate_usage(stats: &Stats) -> f64 {
let mut cpu_percentage = 0.0;