diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-11-18 06:14:26 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-11-18 19:23:29 -0500 |
| commit | bca026efb9cad5dba599cfd7a86223745aba5b8b (patch) | |
| tree | 1c3f00974f9433db185023f1ff33621f17264b23 | |
| parent | 06f2d9da87ae4c5112cfa1540ae7ea15b76d3e5b (diff) | |
| download | rust-bca026efb9cad5dba599cfd7a86223745aba5b8b.tar.gz rust-bca026efb9cad5dba599cfd7a86223745aba5b8b.zip | |
Fix two long lines.
| -rw-r--r-- | src/librustc_front/print/pprust.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/librustc_front/print/pprust.rs b/src/librustc_front/print/pprust.rs index f29ef0e8217..e059a4ed5f6 100644 --- a/src/librustc_front/print/pprust.rs +++ b/src/librustc_front/print/pprust.rs @@ -91,7 +91,10 @@ pub fn rust_printer<'a>(writer: Box<Write + 'a>, krate: Option<&'a Crate>) -> St rust_printer_annotated(writer, &NO_ANN, krate) } -pub fn rust_printer_annotated<'a>(writer: Box<Write + 'a>, ann: &'a PpAnn, krate: Option<&'a Crate>) -> State<'a> { +pub fn rust_printer_annotated<'a>(writer: Box<Write + 'a>, + ann: &'a PpAnn, + krate: Option<&'a Crate>) + -> State<'a> { State { krate: krate, s: pp::mk_printer(writer, default_columns), @@ -126,7 +129,8 @@ pub fn print_crate<'a>(cm: &'a CodeMap, ann: &'a PpAnn, is_expanded: bool) -> io::Result<()> { - let mut s = State::new_from_input(cm, span_diagnostic, filename, input, out, ann, is_expanded, Some(krate)); + let mut s = State::new_from_input(cm, span_diagnostic, filename, input, + out, ann, is_expanded, Some(krate)); // When printing the AST, we sometimes need to inject `#[no_std]` here. // Since you can't compile the HIR, it's not necessary. |
