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/comments.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/comments.rs')
| -rw-r--r-- | src/libsyntax/parse/comments.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/comments.rs b/src/libsyntax/parse/comments.rs index 6ebaa42357e..3f8a5588c71 100644 --- a/src/libsyntax/parse/comments.rs +++ b/src/libsyntax/parse/comments.rs @@ -35,10 +35,10 @@ pub enum cmnt_style { } impl cmp::Eq for cmnt_style { - pure fn eq(&self, other: &cmnt_style) -> bool { + fn eq(&self, other: &cmnt_style) -> bool { ((*self) as uint) == ((*other) as uint) } - pure fn ne(&self, other: &cmnt_style) -> bool { + fn ne(&self, other: &cmnt_style) -> bool { ((*self) as uint) != ((*other) as uint) } } |
