Skip to content

Commit

Permalink
remove comments that were tripping up pretty printer
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Mar 30, 2017
1 parent 744f666 commit 2414222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/run-pass/issue-39808.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use std::borrow::Cow;

fn main() {
let _ = if false {
Cow::Owned(format!("{:?}", panic!())) /* as Cow<str> */ // uncomment to fix
Cow::Owned(format!("{:?}", panic!()))
} else {
Cow::Borrowed("")
};
Expand Down

0 comments on commit 2414222

Please sign in to comment.