diff options
| author | bors <bors@rust-lang.org> | 2015-01-07 15:35:30 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-01-07 15:35:30 +0000 |
| commit | c0216c8945e7549f55d13302cc0a8ad41b2c2060 (patch) | |
| tree | ed9258d084dccaaca1336b560f5a369e2015a9d9 /src/libsyntax/parse | |
| parent | 7377c0b1a91f48c95bf6d0b1b179f4fbada70869 (diff) | |
| parent | e3b7fedc20fcfe54e0ddb285fc6e6c6e862b3279 (diff) | |
| download | rust-c0216c8945e7549f55d13302cc0a8ad41b2c2060.tar.gz rust-c0216c8945e7549f55d13302cc0a8ad41b2c2060.zip | |
Merge pull request #20674 from jbcrail/fix-misspelled-comments
Fix misspelled comments. Reviewed-by: steveklabnik
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/parse/token.rs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 92e0395eca4..9c16dbb2c5c 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2749,7 +2749,7 @@ impl<'a> Parser<'a> { let open_span = self.span; self.bump(); - // Parse the token trees within the delimeters + // Parse the token trees within the delimiters let tts = self.parse_seq_to_before_end( &token::CloseDelim(delim), seq_sep_none(), diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index 013bce1755b..43786738910 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -43,7 +43,7 @@ pub enum BinOpToken { Shr, } -/// A delimeter token +/// A delimiter token #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Eq, Hash, Show, Copy)] pub enum DelimToken { /// A round parenthesis: `(` or `)` @@ -134,9 +134,9 @@ pub enum Token { Pound, Dollar, Question, - /// An opening delimeter, eg. `{` + /// An opening delimiter, eg. `{` OpenDelim(DelimToken), - /// A closing delimeter, eg. `}` + /// A closing delimiter, eg. `}` CloseDelim(DelimToken), /* Literals */ |
