Skip to content

Commit

Permalink
remove Drop impl
Browse files Browse the repository at this point in the history
Crashing drop affects everyone right from the start. Delay until step 4.
  • Loading branch information
Emerentius committed Aug 4, 2019
1 parent 3ab32a4 commit 087f327
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions exercises/doubly-linked-list/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ impl<T> LinkedList<T> {
}
}

impl<T> Drop for LinkedList<T> {
fn drop(&mut self) {
unimplemented!()
}
}

// the cursor is expected to act as if it is at the position of an element
// and it also has to work with and be able to insert into an empty list.
impl<T> Cursor<'_, T> {
Expand Down

0 comments on commit 087f327

Please sign in to comment.