Skip to content

Commit 2095ac1

Browse files
committed
Fixed tidy errors
1 parent bb30144 commit 2095ac1

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
@@ -906,12 +906,14 @@ impl<'a> State<'a> {
906906
self.print_associated_const(ti.name, &ty, default, &hir::Inherited)?;
907907
}
908908
hir::TraitItemKind::Method(ref sig, hir::TraitMethod::Required(ref arg_names)) => {
909-
self.print_method_sig(ti.name, sig, &ti.generics, &hir::Inherited, arg_names, None)?;
909+
self.print_method_sig(ti.name, sig, &ti.generics, &hir::Inherited, arg_names,
910+
None)?;
910911
self.s.word(";")?;
911912
}
912913
hir::TraitItemKind::Method(ref sig, hir::TraitMethod::Provided(body)) => {
913914
self.head("")?;
914-
self.print_method_sig(ti.name, sig, &ti.generics, &hir::Inherited, &[], Some(body))?;
915+
self.print_method_sig(ti.name, sig, &ti.generics, &hir::Inherited, &[],
916+
Some(body))?;
915917
self.nbsp()?;
916918
self.end()?; // need to close a box
917919
self.end()?; // need to close a box

0 commit comments

Comments
 (0)