config: fix some typos

Some typos snuck in the package description and rustdoc, fix them up.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
This commit is contained in:
Christoph Heiss 2024-12-17 12:36:18 +01:00 committed by Thomas Lamprecht
parent ba293ee4d9
commit 1c9edad1e2
2 changed files with 3 additions and 3 deletions

View File

@ -43,4 +43,4 @@ Depends:
librust-serde-with+default-dev, librust-serde-with+default-dev,
libstd-rust-dev, libstd-rust-dev,
Description: Library for reading and writing the configuration files of Proxmox Description: Library for reading and writing the configuration files of Proxmox
Virtual Enviroment. Virtual Environment.

View File

@ -67,7 +67,7 @@ impl AliasName {
/// Creates a new [`AliasName`]. /// Creates a new [`AliasName`].
/// ///
/// It will convert any ASCII characters contained in the name into lowercase. This is for /// 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. /// reading from the config.
pub fn new(scope: AliasScope, name: impl Into<String>) -> Self { pub fn new(scope: AliasScope, name: impl Into<String>) -> Self {
let mut lowercase_name = name.into(); let mut lowercase_name = name.into();
@ -105,7 +105,7 @@ impl Alias {
/// Creates a new [`Alias`]. /// Creates a new [`Alias`].
/// ///
/// It will convert any ASCII characters contained in the name into lowercase. This is for /// 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. /// reading from the config.
pub fn new( pub fn new(
name: impl Into<String>, name: impl Into<String>,