[pbs-devel] [PATCH proxmox 06/18] acme: remove duplicated attribute

Maximiliano Sandoval m.sandoval at proxmox.com
Wed Jun 26 12:45:02 CEST 2024


Fixes the following clippy warning:

warning: duplicated attribute
  --> proxmox-acme/src/lib.rs:42:7
   |
42 | #[cfg(feature = "impl")]
   |       ^^^^^^^^^^^^^^^^
   |
note: first defined here
  --> proxmox-acme/src/lib.rs:41:7
   |
41 | #[cfg(feature = "impl")]
   |       ^^^^^^^^^^^^^^^^
help: remove this attribute
  --> proxmox-acme/src/lib.rs:42:7
   |
42 | #[cfg(feature = "impl")]
   |       ^^^^^^^^^^^^^^^^
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
   = note: `#[warn(clippy::duplicated_attributes)]` on by default

Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 proxmox-acme/src/lib.rs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/proxmox-acme/src/lib.rs b/proxmox-acme/src/lib.rs
index b0374ecd..692691bf 100644
--- a/proxmox-acme/src/lib.rs
+++ b/proxmox-acme/src/lib.rs
@@ -39,7 +39,6 @@ pub mod directory;
 #[cfg(feature = "impl")]
 pub mod error;
 #[cfg(feature = "impl")]
-#[cfg(feature = "impl")]
 pub mod order;
 
 #[cfg(feature = "impl")]
-- 
2.39.2





More information about the pbs-devel mailing list