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 bd17a59 commit 5e23beeCopy full SHA for 5e23bee
exercises/02_basic_calculator/04_panics/src/lib.rs
@@ -19,7 +19,7 @@ mod tests {
19
// 👇 With the `#[should_panic]` annotation we can assert that we expect the code
20
// under test to panic. We can also check the panic message by using `expected`.
21
// This is all part of Rust's built-in test framework!
22
- #[should_panic(expected = "The journey took no time at all, that's impossible!")]
+ #[should_panic(expected = "The journey took no time at all. That's impossible!")]
23
fn by_zero() {
24
speed(0, 10, 0);
25
}
0 commit comments