mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-22 00:00:15 +02:00
Get rid of BufError
This commit is contained in:
@@ -9,7 +9,7 @@ pub fn test_slice_round_trip() {
|
||||
let s = SmallByteStr::from_slice(&src).unwrap();
|
||||
assert_eq!(3, s.len());
|
||||
|
||||
s.buf().copy_to(&mut dst).unwrap();
|
||||
s.buf().copy_to(&mut dst);
|
||||
assert_eq!(dst, src);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user