about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSunjay Varma <varma.sunjay@gmail.com>2017-09-25 18:36:28 -0400
committerSunjay Varma <varma.sunjay@gmail.com>2017-10-17 22:14:14 -0400
commit2095ac1e2714f5fa8f25de1e8574dd541514277c (patch)
tree767b1968223369c82ec03248ab563a7a35eb9783
parentbb301446050900f2e9bbb0d465fd8615fbd0e7e6 (diff)
downloadrust-2095ac1e2714f5fa8f25de1e8574dd541514277c.tar.gz
rust-2095ac1e2714f5fa8f25de1e8574dd541514277c.zip
Fixed tidy errors
-rw-r--r--src/librustc/hir/print.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/librustc/hir/print.rs b/src/librustc/hir/print.rs
index 4eee9cbfc2d..b4614873550 100644
--- a/src/librustc/hir/print.rs
+++ b/src/librustc/hir/print.rs
@@ -906,12 +906,14 @@ impl<'a> State<'a> {
                 self.print_associated_const(ti.name, &ty, default, &hir::Inherited)?;
             }
             hir::TraitItemKind::Method(ref sig, hir::TraitMethod::Required(ref arg_names)) => {
-                self.print_method_sig(ti.name, sig, &ti.generics, &hir::Inherited, arg_names, None)?;
+                self.print_method_sig(ti.name, sig, &ti.generics, &hir::Inherited, arg_names,
+                    None)?;
                 self.s.word(";")?;
             }
             hir::TraitItemKind::Method(ref sig, hir::TraitMethod::Provided(body)) => {
                 self.head("")?;
-                self.print_method_sig(ti.name, sig, &ti.generics, &hir::Inherited, &[], Some(body))?;
+                self.print_method_sig(ti.name, sig, &ti.generics, &hir::Inherited, &[],
+                    Some(body))?;
                 self.nbsp()?;
                 self.end()?; // need to close a box
                 self.end()?; // need to close a box