diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-02-14 11:47:00 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-02-14 11:47:00 -0800 |
| commit | e8f36d5ea0a56250109d93656130b442d2e59e4c (patch) | |
| tree | d8b1be86a79e6b1c0a48141857421386cbbab34a /src/libsyntax/parse/comments.rs | |
| parent | 36edd256397d250ce35204ba1a0954609c25a20a (diff) | |
| download | rust-e8f36d5ea0a56250109d93656130b442d2e59e4c.tar.gz rust-e8f36d5ea0a56250109d93656130b442d2e59e4c.zip | |
librustc: Replace `impl Type : Trait` with `impl Trait for Type`. rs=implflipping
Diffstat (limited to 'src/libsyntax/parse/comments.rs')
| -rw-r--r-- | src/libsyntax/parse/comments.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/comments.rs b/src/libsyntax/parse/comments.rs index 1e17cf3543d..2cadf195778 100644 --- a/src/libsyntax/parse/comments.rs +++ b/src/libsyntax/parse/comments.rs @@ -34,7 +34,7 @@ pub enum cmnt_style { blank_line, // Just a manual blank line "\n\n", for layout } -impl cmnt_style : cmp::Eq { +impl cmp::Eq for cmnt_style { pure fn eq(&self, other: &cmnt_style) -> bool { ((*self) as uint) == ((*other) as uint) } |
