about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-02 21:51:10 +0000
committerbors <bors@rust-lang.org>2014-08-02 21:51:10 +0000
commit756b7b23c43cff52b1e2a89fae341c0a7389ee09 (patch)
tree47aa392a3889484b574a73224b2c8bc57e652bbe /src/libsyntax/parse
parent147d117cff53198f17989a34b92513c33e059544 (diff)
parentad06dfe496e4e1abbc65268a58275ca2b483def5 (diff)
downloadrust-756b7b23c43cff52b1e2a89fae341c0a7389ee09.tar.gz
rust-756b7b23c43cff52b1e2a89fae341c0a7389ee09.zip
auto merge of #16180 : jbcrail/rust/fix-comments, r=steveklabnik
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 945a643d2b4..de3be4f8f38 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -4356,7 +4356,7 @@ impl<'a> Parser<'a> {
         return self.parse_single_struct_field(Inherited, attrs);
     }
 
-    /// Parse visiility: PUB, PRIV, or nothing
+    /// Parse visibility: PUB, PRIV, or nothing
     fn parse_visibility(&mut self) -> Visibility {
         if self.eat_keyword(keywords::Pub) { Public }
         else { Inherited }