Skip to content

Commit 5b1e92f

Browse files
committed
remove redundant parenthesis
1 parent 5ee5019 commit 5b1e92f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vm/src/stdlib/io.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ mod _io {
307307
}
308308
};
309309
let buf = match available.find_byte(byte) {
310-
Some(i) => (available[..=i].to_vec()),
311-
_ => (available.to_vec()),
310+
Some(i) => available[..=i].to_vec(),
311+
_ => available.to_vec(),
312312
};
313313
self.cursor.consume(buf.len());
314314
Ok(buf)

0 commit comments

Comments
 (0)