diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2022-03-07 16:37:35 -0500 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2022-03-07 16:37:35 -0500 |
| commit | 003eaf8fe270cb8f6915ed03ad23f4af0212d607 (patch) | |
| tree | 1fa4e744e420c7486ef0f3f5dd83d699daf8c64f /src/parse/parser.rs | |
| parent | ce301d92f12658edf6fe410d39de445270d1420e (diff) | |
placate rustfmt in rustfmt.
Diffstat (limited to 'src/parse/parser.rs')
| -rw-r--r-- | src/parse/parser.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/parse/parser.rs b/src/parse/parser.rs index ec051d93710..268c72649a6 100644 --- a/src/parse/parser.rs +++ b/src/parse/parser.rs @@ -113,13 +113,7 @@ 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, spans)) => Some((a, i, spans.inner_span)), Err(mut e) => { e.emit(); if sess.can_reset_errors() { |
