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 3828eea commit b7fd6b6Copy full SHA for b7fd6b6
src/libcoretest/nonzero.rs
@@ -95,6 +95,6 @@ fn test_match_option_string() {
95
let five = "Five".to_string();
96
match Some(five) {
97
Some(s) => assert_eq!(s, "Five"),
98
- None => panic!("{}", "unexpected None while matching on Some(String { ... })")
+ None => panic!(("unexpected None while matching on Some(String { ... })"))
99
}
100
0 commit comments