Skip to content

Commit

Permalink
add a must_use attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
tifv committed Jul 5, 2024
1 parent 5cbf327 commit ef02029
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ impl TableHeader {

impl<'data> Loader<'data> {

#[must_use]
pub fn new(data: &'data [u8]) -> Self {
// The most compact representation of an array element
// is bitmask, which is eight (nil) elements per one byte.
Expand Down

0 comments on commit ef02029

Please sign in to comment.