mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-19 00:00:12 +02:00
Get rid of BufError
This commit is contained in:
@@ -9,7 +9,7 @@ pub fn test_slice_round_trip() {
|
||||
let s = SeqByteStr::from_slice(&src);
|
||||
assert_eq!(2000, 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