diff options
Diffstat (limited to 'src/test/run-pass/const-struct.rs')
| -rw-r--r-- | src/test/run-pass/const-struct.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/const-struct.rs b/src/test/run-pass/const-struct.rs index 58c09ccce92..24243601e09 100644 --- a/src/test/run-pass/const-struct.rs +++ b/src/test/run-pass/const-struct.rs @@ -11,7 +11,7 @@ struct foo { a: int, b: int, c: int } -impl foo : cmp::Eq { +impl cmp::Eq for foo { pure fn eq(&self, other: &foo) -> bool { (*self).a == (*other).a && (*self).b == (*other).b && |
