diff options
| author | Carol Nichols <carol.nichols@gmail.com> | 2015-04-29 22:43:47 -0400 |
|---|---|---|
| committer | Carol Nichols <carol.nichols@gmail.com> | 2015-04-29 22:47:10 -0400 |
| commit | 31b7001b49fe8ce2f3d6aed882b41e55da020ab6 (patch) | |
| tree | f55b0d5c324fb5e80763314297e16d98bcea4a33 /src/libsyntax/parse/parser.rs | |
| parent | 899d4180ef052c3bd7598d18ad1e5af0bc57fc88 (diff) | |
| download | rust-31b7001b49fe8ce2f3d6aed882b41e55da020ab6.tar.gz rust-31b7001b49fe8ce2f3d6aed882b41e55da020ab6.zip | |
Remove mention of 'priv'; visibility is either PUB or nothing
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index f76de1f04ce..a277dda6f0f 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -4772,7 +4772,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) } |
