Skip to content

Commit

Permalink
fixed going over 100 chars in line
Browse files Browse the repository at this point in the history
  • Loading branch information
jakevossen5 committed Oct 3, 2020
1 parent 3ea96b8 commit 018d587
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion compiler/rustc_middle/src/ty/print/pretty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2067,7 +2067,9 @@ define_print_and_forward_display! {
p!("the trait `", print_def_path(trait_def_id, &[]), "` is object-safe")
}
ty::PredicateAtom::ClosureKind(closure_def_id, _closure_substs, kind) => {
p!("the closure `", print_value_path(closure_def_id, &[]), write("` implements the trait `{}`", kind))
p!("the closure `",
print_value_path(closure_def_id, &[]),
write("` implements the trait `{}`", kind))
}
ty::PredicateAtom::ConstEvaluatable(def, substs) => {
p!("the constant `", print_value_path(def.did, substs), "` can be evaluated")
Expand Down

0 comments on commit 018d587

Please sign in to comment.