From d84573627068e63e9f2c85e50ac4f8a3f46f298f Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 7 Jun 2022 09:22:45 +0200 Subject: [PATCH] tree wide: typo fixes through codespell Signed-off-by: Thomas Lamprecht --- proxmox-rrd/src/rrd.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxmox-rrd/src/rrd.rs b/proxmox-rrd/src/rrd.rs index 41af6242..4ae3ee93 100644 --- a/proxmox-rrd/src/rrd.rs +++ b/proxmox-rrd/src/rrd.rs @@ -8,7 +8,7 @@ //! ## Features //! //! * Well defined data format [CBOR](https://datatracker.ietf.org/doc/html/rfc8949) -//! * Plattform independent (big endian f64, hopefully a standard format?) +//! * Platform independent (big endian f64, hopefully a standard format?) //! * Arbitrary number of RRAs (dynamically changeable) use std::io::{Read, Write}; @@ -456,7 +456,7 @@ impl RRD { /// This selects the RRA with specified [CF] and (minimum) /// resolution, and extract data from `start` to `end`. /// - /// `start`: Start time. If not sepecified, we simply extract 10 data points. + /// `start`: Start time. If not specified, we simply extract 10 data points. /// `end`: End time. Default is to use the current time. pub fn extract_data( &self, @@ -600,7 +600,7 @@ mod tests { assert_eq!(reso, 60); assert_eq!(data, [Some(6.5), Some(8.5), Some(10.5), Some(12.5), None]); - // add much newer vaule (should delete all previous/outdated value) + // add much newer value (should delete all previous/outdated value) let i = 100; rrd.update((i as f64) * 30.0, i as f64); println!("TEST {:?}", serde_json::to_string_pretty(&rrd));