mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-07 00:00:13 +02:00
chore: Fix unused warnings (#551)
This commit is contained in:
+2
-2
@@ -411,8 +411,8 @@ fn freeze_after_split_off() {
|
||||
fn fns_defined_for_bytes_mut() {
|
||||
let mut bytes = BytesMut::from(&b"hello world"[..]);
|
||||
|
||||
bytes.as_ptr();
|
||||
bytes.as_mut_ptr();
|
||||
let _ = bytes.as_ptr();
|
||||
let _ = bytes.as_mut_ptr();
|
||||
|
||||
// Iterator
|
||||
let v: Vec<u8> = bytes.as_ref().iter().cloned().collect();
|
||||
|
||||
Reference in New Issue
Block a user