Skip to content

Commit 4420366

Browse files
committed
clippy cosmetics
1 parent 779c992 commit 4420366

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -818,10 +818,10 @@ impl<H, T: Clone> HeaderVec<H, T> {
818818
}
819819
}
820820
// correct the len
821-
let len_again = self.len_atomic_add_release(slice.len());
821+
let _len_again = self.len_atomic_add_release(slice.len());
822822
// in debug builds we check for races, the chance to catch these are still pretty minimal
823823
#[cfg(debug_assertions)]
824-
debug_assert_eq!(len_again, len, "len was updated by another thread");
824+
debug_assert_eq!(_len_again, len, "len was updated by another thread");
825825
Ok(())
826826
} else {
827827
Err(slice)

0 commit comments

Comments
 (0)