diff --git a/README.md b/README.md index 189d4a1..00dc032 100644 --- a/README.md +++ b/README.md @@ -54,11 +54,6 @@ for _ in 0..3 { threads.push(t); } -{ - assert_eq!(list_mut.lock().unwrap().head().unwrap().value, 0); -} - - for t in threads { t.join().unwrap(); } diff --git a/src/lib.rs b/src/lib.rs index 79cbe5a..3e482f5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -49,9 +49,6 @@ //! threads.push(t); //! } //! -//! { -//! assert_eq!(list_mut.lock().unwrap().head().unwrap().value, 0); -//! } //! //! //! for t in threads { diff --git a/tests/test_linked_list.rs b/tests/test_linked_list.rs index f4e99f9..9d5c477 100644 --- a/tests/test_linked_list.rs +++ b/tests/test_linked_list.rs @@ -65,10 +65,6 @@ fn test_multithreading() { threads.push(t); } - { - assert_eq!(list_mut.lock().unwrap().head().unwrap().value, 0); - } - for t in threads { t.join().unwrap(); }