From 31b7001b49fe8ce2f3d6aed882b41e55da020ab6 Mon Sep 17 00:00:00 2001 From: Carol Nichols Date: Wed, 29 Apr 2015 22:43:47 -0400 Subject: Remove mention of 'priv'; visibility is either PUB or nothing --- src/libsyntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/parse') 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 { if try!(self.eat_keyword(keywords::Pub)) { Ok(Public) } else { Ok(Inherited) } -- cgit 1.4.1-3-g733a5