tree wide: typo fixes through codespell

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-06-07 09:22:45 +02:00
parent 551cd92fa8
commit 2ec6f86f63
3 changed files with 3 additions and 3 deletions

View File

@ -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<String> {
let dropped = self.inner.pop();
if let Some(ref dropped) = dropped {

View File

@ -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 {

View File

@ -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<bool>,
/// Enable the rule at specific times