about summary refs log tree commit diff
path: root/src/parse
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2022-03-04 17:05:30 -0500
committerFelix S. Klock II <pnkfelix@pnkfx.org>2022-03-04 17:05:30 -0500
commitce301d92f12658edf6fe410d39de445270d1420e (patch)
treeb1635d346185b23d47e23225d67ca89c005fd9ae /src/parse
parent651f46376aa6bb259c58cbb3debad6e0edce31bf (diff)
Placate tidy in submodule.
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/parser.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/parse/parser.rs b/src/parse/parser.rs
index 6983249c15d..ec051d93710 100644
--- a/src/parse/parser.rs
+++ b/src/parse/parser.rs
@@ -113,7 +113,13 @@ impl<'a> Parser<'a> {
         let result = catch_unwind(AssertUnwindSafe(|| {
             let mut parser = new_parser_from_file(sess.inner(), path, Some(span));
             match parser.parse_mod(&TokenKind::Eof) {
-                Ok((a, i, ast::ModSpans { inner_span, inject_use_span: _ })) => Some((a, i, inner_span)),
+                Ok((a,
+                    i,
+                    ast::ModSpans {
+                        inner_span,
+                        inject_use_span: _
+                    }
+                )) => Some((a, i, inner_span)),
                 Err(mut e) => {
                     e.emit();
                     if sess.can_reset_errors() {