Skip to content

Commit e26e316

Browse files
committed
zeored
1 parent b742a45 commit e26e316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vortex-buffer/src/bit/buf_mut.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl BitBufferMut {
4949
/// Create a new mutable buffer with requested `len` and all bits set to `false`.
5050
pub fn new_unset(len: usize) -> Self {
5151
Self {
52-
buffer: buffer_mut![0u8; len.div_ceil(8)],
52+
buffer: BufferMut::zeroed(len.div_ceil(8)),
5353
capacity: len,
5454
len,
5555
}

0 commit comments

Comments
 (0)