Removing obsolete clippy allow thingy.

This commit is contained in:
Paul Masurel
2022-02-01 11:54:01 +09:00
parent 2069e3e52b
commit 13a4473faa
2 changed files with 1 additions and 2 deletions

View File

@@ -83,7 +83,6 @@ impl OwnedBytes {
/// Splits the right part of the `OwnedBytes` at the given offset.
///
/// `self` is truncated to `split_len`, left with the remaining bytes.
#[allow(clippy::return_self_not_must_use)]
pub fn split_off(&mut self, split_len: usize) -> OwnedBytes {
let right_box_stable_deref = self.box_stable_deref.clone();
let right_piece = OwnedBytes {