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:
+1
-1
@@ -26,7 +26,7 @@ fn test_pool_with_one_capacity() {
|
||||
|
||||
let mut dst = vec![];
|
||||
|
||||
buf.copy_to(&mut dst).unwrap();
|
||||
buf.copy_to(&mut dst);
|
||||
|
||||
assert_eq!(&dst[..], b"Hello World");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user