mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-25 11:22:09 +00:00
tree wide: typo fixes through codespell
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
551cd92fa8
commit
2ec6f86f63
@ -470,7 +470,7 @@ impl BackupNamespace {
|
|||||||
Ok(child)
|
Ok(child)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Pop one level off the namespace hierachy
|
/// Pop one level off the namespace hierarchy
|
||||||
pub fn pop(&mut self) -> Option<String> {
|
pub fn pop(&mut self) -> Option<String> {
|
||||||
let dropped = self.inner.pop();
|
let dropped = self.inner.pop();
|
||||||
if let Some(ref dropped) = dropped {
|
if let Some(ref dropped) = dropped {
|
||||||
|
@ -69,7 +69,7 @@ impl SizeUnit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the string repesentation
|
/// Returns the string representation
|
||||||
impl std::fmt::Display for SizeUnit {
|
impl std::fmt::Display for SizeUnit {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
match self {
|
match self {
|
||||||
|
@ -113,7 +113,7 @@ pub struct TrafficControlRule {
|
|||||||
#[serde(flatten)]
|
#[serde(flatten)]
|
||||||
pub limit: RateLimitConfig,
|
pub limit: RateLimitConfig,
|
||||||
// fixme: expose this?
|
// fixme: expose this?
|
||||||
// /// Bandwidth is shared accross all connections
|
// /// Bandwidth is shared across all connections
|
||||||
// #[serde(skip_serializing_if="Option::is_none")]
|
// #[serde(skip_serializing_if="Option::is_none")]
|
||||||
// pub shared: Option<bool>,
|
// pub shared: Option<bool>,
|
||||||
/// Enable the rule at specific times
|
/// Enable the rule at specific times
|
||||||
|
Loading…
Reference in New Issue
Block a user