1
0
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:
Martin Geisler 2024-10-21 13:57:19 -04:00 committed by GitHub
parent ec6cb024e8
commit ce56ea551e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,
}
}
}