From f33107e84e0aa38d1cde5ed150b867e5155876ea Mon Sep 17 00:00:00 2001 From: sgodwin424 Date: Tue, 24 Oct 2023 13:34:19 -0700 Subject: [PATCH] Fix another test lint... --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index fdeeeb3..cf62d3e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2850,13 +2850,13 @@ mod test { hasher.finish() } - let mut list_1 = VecList::new(); + let mut list_1: VecList = VecList::new(); list_1.push_back(0); - let list_2 = VecList::new(); + let list_2: VecList = VecList::new(); - assert_eq!(hash(&state, &list_1), hash(&state, &list_1)); - assert_ne!(hash(&state, &list_1), hash(&state, &list_2)); + assert_eq!(state.hash_one(&list_1), state.hash_one(&list_1)); + assert_ne!(state.hash_one(&list_1), state.hash_one(&list_2)); } #[test]