diff --git a/pbs-api-types/src/datastore.rs b/pbs-api-types/src/datastore.rs index bb20e149..86201b8e 100644 --- a/pbs-api-types/src/datastore.rs +++ b/pbs-api-types/src/datastore.rs @@ -470,7 +470,7 @@ impl BackupNamespace { Ok(child) } - /// Pop one level off the namespace hierachy + /// Pop one level off the namespace hierarchy pub fn pop(&mut self) -> Option { let dropped = self.inner.pop(); if let Some(ref dropped) = dropped { diff --git a/pbs-api-types/src/human_byte.rs b/pbs-api-types/src/human_byte.rs index 9e1a1893..532632c8 100644 --- a/pbs-api-types/src/human_byte.rs +++ b/pbs-api-types/src/human_byte.rs @@ -69,7 +69,7 @@ impl SizeUnit { } } -/// Returns the string repesentation +/// Returns the string representation impl std::fmt::Display for SizeUnit { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { diff --git a/pbs-api-types/src/traffic_control.rs b/pbs-api-types/src/traffic_control.rs index d29f18b4..3ed579cf 100644 --- a/pbs-api-types/src/traffic_control.rs +++ b/pbs-api-types/src/traffic_control.rs @@ -113,7 +113,7 @@ pub struct TrafficControlRule { #[serde(flatten)] pub limit: RateLimitConfig, // fixme: expose this? - // /// Bandwidth is shared accross all connections + // /// Bandwidth is shared across all connections // #[serde(skip_serializing_if="Option::is_none")] // pub shared: Option, /// Enable the rule at specific times