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 dd81c91 commit 9e3b949Copy full SHA for 9e3b949
library/core/tests/nonzero.rs
@@ -85,7 +85,7 @@ fn test_match_option_string() {
85
let five = "Five".to_string();
86
match Some(five) {
87
Some(s) => assert_eq!(s, "Five"),
88
- None => panic!("unexpected None while matching on Some(String { ... })"),
+ None => panic!("{}", "unexpected None while matching on Some(String { ... })"),
89
}
90
91
0 commit comments