From: Christoph Heiss <c.heiss@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH proxmox-ve-rs] config: fix some typos
Date: Tue, 17 Dec 2024 12:36:18 +0100 [thread overview]
Message-ID: <20241217113623.871379-1-c.heiss@proxmox.com> (raw)
Some typos snuck in the package description and rustdoc, fix them up.
Signed-off-by: Christoph Heiss <c.heiss@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
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next reply other threads:[~2024-12-17 11:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-17 11:36 Christoph Heiss [this message]
2024-12-17 13:39 ` [pve-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241217113623.871379-1-c.heiss@proxmox.com \
--to=c.heiss@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox