diff --git a/exercises/practice/doubly-linked-list/Cargo.toml b/exercises/practice/doubly-linked-list/Cargo.toml index 4b3ee76bcaf..152d3c3e63c 100644 --- a/exercises/practice/doubly-linked-list/Cargo.toml +++ b/exercises/practice/doubly-linked-list/Cargo.toml @@ -15,3 +15,4 @@ advanced = [] [lints.clippy] drop_non_drop = "allow" # tests call drop before students have implemented it new_without_default = "allow" +should_implement_trait = "allow" diff --git a/exercises/practice/doubly-linked-list/src/lib.rs b/exercises/practice/doubly-linked-list/src/lib.rs index a02fdb3f9f0..0ebb8e2cbcc 100644 --- a/exercises/practice/doubly-linked-list/src/lib.rs +++ b/exercises/practice/doubly-linked-list/src/lib.rs @@ -53,7 +53,6 @@ impl Cursor<'_, T> { /// Move one position forward (towards the back) and /// return a reference to the new position - #[allow(clippy::should_implement_trait)] pub fn next(&mut self) -> Option<&mut T> { todo!() }