]> git.proxmox.com Git - proxmox.git/commitdiff
tree wide: typo fixes through codespell
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 7 Jun 2022 07:22:45 +0000 (09:22 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 7 Jun 2022 12:08:09 +0000 (14:08 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxmox-rrd/src/rrd.rs

index 41af624245f52a21330dd116ad7a888a09959cb4..4ae3ee93768f31673087b625d85f71d251137efd 100644 (file)
@@ -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));