Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Dec 15, 2024
1 parent d7815d5 commit 074eb40
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/byteview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ impl ByteView {
Self::with_size_zeroed(slice_len)
}

#[must_use]
fn with_size_zeroed(slice_len: usize) -> Self {
let Ok(len) = u32::try_from(slice_len) else {
panic!("byte slice too long");
Expand Down Expand Up @@ -330,7 +329,6 @@ impl ByteView {
builder
}

#[must_use]
fn with_size_unchecked(slice_len: usize) -> Self {
let Ok(len) = u32::try_from(slice_len) else {
panic!("byte slice too long");
Expand Down

0 comments on commit 074eb40

Please sign in to comment.