public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox v2 4/8] deb-version: remove unnecesary vec! call
Date: Wed, 10 Dec 2025 11:56:09 +0100	[thread overview]
Message-ID: <20251210105615.215532-4-m.sandoval@proxmox.com> (raw)
In-Reply-To: <20251210105615.215532-1-m.sandoval@proxmox.com>

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 proxmox-deb-version/src/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxmox-deb-version/src/lib.rs b/proxmox-deb-version/src/lib.rs
index e17c0441..9a51e799 100644
--- a/proxmox-deb-version/src/lib.rs
+++ b/proxmox-deb-version/src/lib.rs
@@ -477,7 +477,7 @@ mod tests {
     #[test]
     fn test_manpage_tilde_sequence() {
         // from deb-version manpage: ~~, ~~a, ~, (empty), a are in sorted order
-        let versions = vec!["~~", "~~a", "~", "", "a"];
+        let versions = ["~~", "~~a", "~", "", "a"];
         for i in 0..versions.len() - 1 {
             let result = debian_cmp_str(versions[i], versions[i + 1]);
             assert_eq!(
-- 
2.47.3



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


  parent reply	other threads:[~2025-12-10 10:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-10 10:56 [pbs-devel] [PATCH proxmox v2 1/8] proxmox-fixed-string: bump msrv to 1.87 Maximiliano Sandoval
2025-12-10 10:56 ` [pbs-devel] [PATCH proxmox v2 2/8] don't hide a lifetimes that are elided elsewhere Maximiliano Sandoval
2025-12-10 10:56 ` [pbs-devel] [PATCH proxmox v2 3/8] auth-api: remove unnecessary return Maximiliano Sandoval
2025-12-10 10:56 ` Maximiliano Sandoval [this message]
2025-12-10 10:56 ` [pbs-devel] [PATCH proxmox v2 5/8] fixed-string: remove unused import Maximiliano Sandoval
2025-12-10 10:56 ` [pbs-devel] [PATCH proxmox v2 6/8] rest-server: " Maximiliano Sandoval
2025-12-10 10:56 ` [pbs-devel] [PATCH proxmox v2 7/8] http: remove unnecessary conversion Maximiliano Sandoval
2025-12-10 10:56 ` [pbs-devel] [PATCH proxmox v2 8/8] router: replace clone with std::slice::from_ref Maximiliano Sandoval
2025-12-10 18:19 ` [pbs-devel] [PATCH proxmox v2 1/8] proxmox-fixed-string: bump msrv to 1.87 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=20251210105615.215532-4-m.sandoval@proxmox.com \
    --to=m.sandoval@proxmox.com \
    --cc=pbs-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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal