Fix type ambiguity in IO tests
This commit is contained in:
parent
c00faa0458
commit
7d5ce89dad
|
@ -349,8 +349,7 @@ mod tests {
|
|||
|
||||
// checks we can attempt to read from a now-empty reader.
|
||||
let fill = BufRead::fill_buf(&mut slice).unwrap();
|
||||
assert_eq!(fill.len(), 0);
|
||||
assert_eq!(fill, &[]);
|
||||
assert!(fill.is_empty());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in New Issue