mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-19 22:19:29 +02:00
Use both break
and continue
for consistency (#2412)
To me, this little change makes it a little clearer that we either print something, we break, or we continue in the loop.
This commit is contained in:
parent
ec6cb024e8
commit
ce56ea551e
@ -45,7 +45,7 @@ extern "C" fn main(x0: u64, x1: u64, x2: u64, x3: u64) {
|
||||
uart.write_byte(b'\n');
|
||||
}
|
||||
b'q' => break,
|
||||
_ => {}
|
||||
_ => continue,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user