diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-22 11:09:13 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-22 12:57:27 -0700 |
| commit | e7c60c141b6f499ba551b53bc562925269d2f187 (patch) | |
| tree | e43edc564d34f7d4f5c9b6e5b9dedfb946230d46 /src/libsyntax/parse/common.rs | |
| parent | ec59ce5796723ff62c071f7b36577175c6001791 (diff) | |
| download | rust-e7c60c141b6f499ba551b53bc562925269d2f187.tar.gz rust-e7c60c141b6f499ba551b53bc562925269d2f187.zip | |
librustc: Remove `pure` from libsyntax and librustc.
Diffstat (limited to 'src/libsyntax/parse/common.rs')
| -rw-r--r-- | src/libsyntax/parse/common.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/common.rs b/src/libsyntax/parse/common.rs index 1b64a9a6275..ea599e8290a 100644 --- a/src/libsyntax/parse/common.rs +++ b/src/libsyntax/parse/common.rs @@ -134,7 +134,7 @@ pub impl Parser { } } - pure fn token_is_word(&self, word: &~str, tok: &token::Token) -> bool { + fn token_is_word(&self, word: &~str, tok: &token::Token) -> bool { match *tok { token::IDENT(sid, false) => { *self.id_to_str(sid) == *word } _ => { false } |
