about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/stmt.rs
diff options
context:
space:
mode:
authorAlexander Regueiro <alexreg@me.com>2019-09-06 22:38:07 +0100
committerAlexander Regueiro <alexreg@me.com>2019-09-07 16:29:04 +0100
commit553a56dd98cee2e42fe8de0e3ad02a41a4a0eb13 (patch)
tree92afc2f3bf4ccebb3b4cab330a93578163825a2e /src/libsyntax/parse/parser/stmt.rs
parent49d2fd1725510fd3bf6f2937e178b1aa055ddb02 (diff)
downloadrust-553a56dd98cee2e42fe8de0e3ad02a41a4a0eb13.tar.gz
rust-553a56dd98cee2e42fe8de0e3ad02a41a4a0eb13.zip
Apply suggestions from code review
Diffstat (limited to 'src/libsyntax/parse/parser/stmt.rs')
-rw-r--r--src/libsyntax/parse/parser/stmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/stmt.rs b/src/libsyntax/parse/parser/stmt.rs
index 6a3ac2d73f8..04bd61a4cfb 100644
--- a/src/libsyntax/parse/parser/stmt.rs
+++ b/src/libsyntax/parse/parser/stmt.rs
@@ -422,7 +422,7 @@ impl<'a> Parser<'a> {
     }
 
     /// Parses a statement, including the trailing semicolon.
-    pub fn parse_full_stmt(&mut self, macro_legacy_warnings: bool) -> PResult<'a, Option<Stmt>> {
+    crate fn parse_full_stmt(&mut self, macro_legacy_warnings: bool) -> PResult<'a, Option<Stmt>> {
         // Skip looking for a trailing semicolon when we have an interpolated statement.
         maybe_whole!(self, NtStmt, |x| Some(x));