about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/stmt.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-12 06:12:00 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-10-16 11:19:39 +0200
commitbe40bbd2fb7e077b27d346a0b9249d309b9ca690 (patch)
tree693339fa3673a13ae29ac563792d8fb72e124598 /src/libsyntax/parse/parser/stmt.rs
parent904168fe144b5ebabe6d691930a59127b049ac74 (diff)
downloadrust-be40bbd2fb7e077b27d346a0b9249d309b9ca690.tar.gz
rust-be40bbd2fb7e077b27d346a0b9249d309b9ca690.zip
make tidy happy
Diffstat (limited to 'src/libsyntax/parse/parser/stmt.rs')
-rw-r--r--src/libsyntax/parse/parser/stmt.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/stmt.rs b/src/libsyntax/parse/parser/stmt.rs
index 4b1fdb2eef3..d54d9c4b8e9 100644
--- a/src/libsyntax/parse/parser/stmt.rs
+++ b/src/libsyntax/parse/parser/stmt.rs
@@ -372,7 +372,9 @@ impl<'a> Parser<'a> {
     }
 
     /// Parses a block. Inner attributes are allowed.
-    pub(super) fn parse_inner_attrs_and_block(&mut self) -> PResult<'a, (Vec<Attribute>, P<Block>)> {
+    pub(super) fn parse_inner_attrs_and_block(
+        &mut self
+    ) -> PResult<'a, (Vec<Attribute>, P<Block>)> {
         maybe_whole!(self, NtBlock, |x| (Vec::new(), x));
 
         let lo = self.token.span;