diff options
| author | Joseph Crail <jbcrail@gmail.com> | 2015-01-06 20:53:18 -0500 |
|---|---|---|
| committer | Joseph Crail <jbcrail@gmail.com> | 2015-01-06 20:53:18 -0500 |
| commit | e3b7fedc20fcfe54e0ddb285fc6e6c6e862b3279 (patch) | |
| tree | ca1ece110a6f8dc31f5c30b595687829c08f5e82 /src/libsyntax/parse | |
| parent | ea6f65c5f1a3f84e010d2cef02a0160804e9567a (diff) | |
| download | rust-e3b7fedc20fcfe54e0ddb285fc6e6c6e862b3279.tar.gz rust-e3b7fedc20fcfe54e0ddb285fc6e6c6e862b3279.zip | |
Fix misspelled comments.
I cleaned up comments prior to the 1.0 alpha release.
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 32f8f5ee3d6..83ee3219a96 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2780,7 +2780,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 094aacf3207..daaa4af89db 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 */ |
