Skip to content

Commit 540d08b

Browse files
committed
Fixed tidy errors
1 parent ad16f9c commit 540d08b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/librustc/hir/print.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -905,12 +905,14 @@ impl<'a> State<'a> {
905905
self.print_associated_const(ti.name, &ty, default, &hir::Inherited)?;
906906
}
907907
hir::TraitItemKind::Method(ref sig, hir::TraitMethod::Required(ref arg_names)) => {
908-
self.print_method_sig(ti.name, sig, &ti.generics, &hir::Inherited, arg_names, None)?;
908+
self.print_method_sig(ti.name, sig, &ti.generics, &hir::Inherited, arg_names,
909+
None)?;
909910
self.s.word(";")?;
910911
}
911912
hir::TraitItemKind::Method(ref sig, hir::TraitMethod::Provided(body)) => {
912913
self.head("")?;
913-
self.print_method_sig(ti.name, sig, &ti.generics, &hir::Inherited, &[], Some(body))?;
914+
self.print_method_sig(ti.name, sig, &ti.generics, &hir::Inherited, &[],
915+
Some(body))?;
914916
self.nbsp()?;
915917
self.end()?; // need to close a box
916918
self.end()?; // need to close a box

0 commit comments

Comments
 (0)