about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-05-01 14:50:51 +0000
committerbors <bors@rust-lang.org>2015-05-01 14:50:51 +0000
commit1320c293c16dd61093a9b7e8e3c441df6b59ea9e (patch)
tree474df956d29dcc2a2409e179c8b1d6bd5741c56a /src/libsyntax/parse
parentaecf3d8b659c1f5bc457a5a146357ba484e27346 (diff)
parent616b94b66c20085e81ed43e450e78207177f54c6 (diff)
downloadrust-1320c293c16dd61093a9b7e8e3c441df6b59ea9e.tar.gz
rust-1320c293c16dd61093a9b7e8e3c441df6b59ea9e.zip
Auto merge of #25025 - Manishearth:rollup, r=Manishearth
- Successful merges: #24979, #24980, #24981, #24982, #24983, #24987, #24988, #24991, #24992, #24994, #24998, #25002, #25010, #25014, #25020, #25021
- Failed merges: 
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 5f76c214927..a7b1beace51 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -4775,7 +4775,7 @@ impl<'a> Parser<'a> {
         return self.parse_single_struct_field(Inherited, attrs);
     }
 
-    /// Parse visibility: PUB, PRIV, or nothing
+    /// Parse visibility: PUB or nothing
     fn parse_visibility(&mut self) -> PResult<Visibility> {
         if try!(self.eat_keyword(keywords::Pub)) { Ok(Public) }
         else { Ok(Inherited) }