We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4ed3d4 commit 231dbbcCopy full SHA for 231dbbc
tests/cli.rs
@@ -19,7 +19,7 @@ fn dumbpipe_bin() -> &'static str {
19
///
20
/// This assumes that the header lines are ASCII and can be parsed byte by byte.
21
fn read_ascii_lines(mut n: usize, reader: &mut impl Read) -> io::Result<Vec<u8>> {
22
-let mut buf = [0u8; 1];
+ let mut buf = [0u8; 1];
23
let mut res = Vec::new();
24
loop {
25
if reader.read(&mut buf)? != 1 {
0 commit comments