Skip to content

Commit

Permalink
build_heap_buffer is no longer dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
lookbusy1344 committed Apr 3, 2024
1 parent b6ae75e commit 9dbf53e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hasher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ fn file_size(path: &str) -> anyhow::Result<u64> {
}

/// Build a heap buffer of a given size, filled with default values
#[allow(dead_code)]
fn build_heap_buffer<T: Default + Copy>(len: usize) -> Box<[T]> {
let vec = vec![T::default(); len];
vec.into_boxed_slice()
Expand Down

0 comments on commit 9dbf53e

Please sign in to comment.