From 1c9edad1e27e1683c3ecec23ff26582c84f7fe20 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Tue, 17 Dec 2024 12:36:18 +0100 Subject: [PATCH] config: fix some typos Some typos snuck in the package description and rustdoc, fix them up. Signed-off-by: Christoph Heiss --- proxmox-ve-config/debian/control | 2 +- proxmox-ve-config/src/firewall/types/alias.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/proxmox-ve-config/debian/control b/proxmox-ve-config/debian/control index f5a9993..24814c1 100644 --- a/proxmox-ve-config/debian/control +++ b/proxmox-ve-config/debian/control @@ -43,4 +43,4 @@ Depends: librust-serde-with+default-dev, libstd-rust-dev, Description: Library for reading and writing the configuration files of Proxmox - Virtual Enviroment. + Virtual Environment. diff --git a/proxmox-ve-config/src/firewall/types/alias.rs b/proxmox-ve-config/src/firewall/types/alias.rs index 7d56720..7bc2fb8 100644 --- a/proxmox-ve-config/src/firewall/types/alias.rs +++ b/proxmox-ve-config/src/firewall/types/alias.rs @@ -67,7 +67,7 @@ impl AliasName { /// Creates a new [`AliasName`]. /// /// It will convert any ASCII characters contained in the name into lowercase. This is for - /// maintaining backwards-compatiblity with pve-firewall, where all aliases are lowercased when + /// maintaining backwards-compatibility with pve-firewall, where all aliases are lowercased when /// reading from the config. pub fn new(scope: AliasScope, name: impl Into) -> Self { let mut lowercase_name = name.into(); @@ -105,7 +105,7 @@ impl Alias { /// Creates a new [`Alias`]. /// /// It will convert any ASCII characters contained in the name into lowercase. This is for - /// maintaining backwards-compatiblity with pve-firewall, where all aliases are lowercased when + /// maintaining backwards-compatibility with pve-firewall, where all aliases are lowercased when /// reading from the config. pub fn new( name: impl Into,