From ce8cbe2ff24dab925614d406098cf2b38bce07ed Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Wed, 30 Oct 2024 20:07:26 +0100 Subject: [PATCH] Fix some Clippy warnings --- jacobs2021/src/lib.rs | 2 ++ sestoft1996/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/jacobs2021/src/lib.rs b/jacobs2021/src/lib.rs index bdc46d7..54b4166 100644 --- a/jacobs2021/src/lib.rs +++ b/jacobs2021/src/lib.rs @@ -1,3 +1,5 @@ +#![allow(clippy::new_without_default)] + //! An implementation of the algorithm described at //! https://julesjacobs.com/notes/patternmatching/patternmatching.pdf. use std::collections::{HashMap, HashSet}; diff --git a/sestoft1996/src/lib.rs b/sestoft1996/src/lib.rs index d96aa2d..29fb7e1 100644 --- a/sestoft1996/src/lib.rs +++ b/sestoft1996/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] +#![allow(clippy::too_many_arguments)] pub mod idiomatic; pub mod raw;