Skip to content

Commit

Permalink
more clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
rosaliedewinther committed Dec 8, 2024
1 parent 299131c commit 6a8f13d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,10 @@ impl<R: Read + Seek> VdbReader<R> {
"Skipping blosc decompression because of a {}-count read",
count
);
vec![T::zeroed(); 0]
{
T::zeroed();
vec![] as std::vec::Vec<T>
}
}
}
} else if gd.compression.contains(Compression::ZIP) {
Expand Down

0 comments on commit 6a8f13d

Please sign in to comment.