Skip to content

Commit bca026e

Browse files
committed
Fix two long lines.
1 parent 06f2d9d commit bca026e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/librustc_front/print/pprust.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ pub fn rust_printer<'a>(writer: Box<Write + 'a>, krate: Option<&'a Crate>) -> St
9191
rust_printer_annotated(writer, &NO_ANN, krate)
9292
}
9393

94-
pub fn rust_printer_annotated<'a>(writer: Box<Write + 'a>, ann: &'a PpAnn, krate: Option<&'a Crate>) -> State<'a> {
94+
pub fn rust_printer_annotated<'a>(writer: Box<Write + 'a>,
95+
ann: &'a PpAnn,
96+
krate: Option<&'a Crate>)
97+
-> State<'a> {
9598
State {
9699
krate: krate,
97100
s: pp::mk_printer(writer, default_columns),
@@ -126,7 +129,8 @@ pub fn print_crate<'a>(cm: &'a CodeMap,
126129
ann: &'a PpAnn,
127130
is_expanded: bool)
128131
-> io::Result<()> {
129-
let mut s = State::new_from_input(cm, span_diagnostic, filename, input, out, ann, is_expanded, Some(krate));
132+
let mut s = State::new_from_input(cm, span_diagnostic, filename, input,
133+
out, ann, is_expanded, Some(krate));
130134

131135
// When printing the AST, we sometimes need to inject `#[no_std]` here.
132136
// Since you can't compile the HIR, it's not necessary.

0 commit comments

Comments
 (0)