[pve-devel] [PATCH proxmox-ve-rs] config: fix some typos
Christoph Heiss
c.heiss at proxmox.com
Tue Dec 17 12:36:18 CET 2024
Some typos snuck in the package description and rustdoc, fix them up.
Signed-off-by: Christoph Heiss <c.heiss at proxmox.com>
---
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<String>) -> 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<String>,
--
2.47.0
More information about the pve-devel
mailing list