Get rid of BufError

This commit is contained in:
Carl Lerche
2016-08-05 21:54:29 -07:00
parent 6529f6392a
commit b6a424d892
12 changed files with 61 additions and 78 deletions
+1 -1
View File
@@ -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);
}