diff --git a/proxmox-router/src/cli/mod.rs b/proxmox-router/src/cli/mod.rs index 2393da31..7c409f06 100644 --- a/proxmox-router/src/cli/mod.rs +++ b/proxmox-router/src/cli/mod.rs @@ -117,6 +117,7 @@ impl Confirmation { /// let answer = Confirmation::from_str("bogus"); /// assert!(answer.is_err()); /// ``` + #[allow(clippy::should_implement_trait)] pub fn from_str(input: &str) -> Result { match input.trim() { "y" | "Y" => Ok(Self::Yes),