mirror of
https://git.proxmox.com/git/proxmox-ve-rs
synced 2025-10-04 14:24:29 +00:00
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:
parent
ba293ee4d9
commit
1c9edad1e2
@ -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.
|
||||||
|
@ -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>,
|
||||||
|
Loading…
Reference in New Issue
Block a user