We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ee5019 commit 5b1e92fCopy full SHA for 5b1e92f
vm/src/stdlib/io.rs
@@ -307,8 +307,8 @@ mod _io {
307
}
308
};
309
let buf = match available.find_byte(byte) {
310
- Some(i) => (available[..=i].to_vec()),
311
- _ => (available.to_vec()),
+ Some(i) => available[..=i].to_vec(),
+ _ => available.to_vec(),
312
313
self.cursor.consume(buf.len());
314
Ok(buf)
0 commit comments