]> git.lizzy.rs Git - rust.git/commitdiff
fixed going over 100 chars in line
authorJake Vossen <jake@vossen.dev>
Sat, 3 Oct 2020 19:12:08 +0000 (13:12 -0600)
committerJake Vossen <jake@vossen.dev>
Sat, 3 Oct 2020 19:12:08 +0000 (13:12 -0600)
compiler/rustc_middle/src/ty/print/pretty.rs

index c95316c96abc4ca60d5b9783e53901cacf825464..238bce94cf50529bdd5ae2f38a144d6749c2bfbc 100644 (file)
@@ -2067,7 +2067,9 @@ pub fn print_only_trait_path(self) -> ty::Binder<TraitRefPrintOnlyTraitPath<'tcx
                 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")