We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 744f666 commit 2414222Copy full SHA for 2414222
src/test/run-pass/issue-39808.rs
@@ -19,7 +19,7 @@ use std::borrow::Cow;
19
20
fn main() {
21
let _ = if false {
22
- Cow::Owned(format!("{:?}", panic!())) /* as Cow<str> */ // uncomment to fix
+ Cow::Owned(format!("{:?}", panic!()))
23
} else {
24
Cow::Borrowed("")
25
};
0 commit comments