diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2014-12-31 17:32:49 +1300 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-01-02 23:05:22 +1300 |
| commit | 30e149231c627e61524d1b5bd6357886befae9e6 (patch) | |
| tree | 8bfb22729d4d1c3784be33cf6eed65aae89fa1d9 /src/test/run-pass/tuple-struct-constructor-pointer.rs | |
| parent | 7506fe52696c5b3b628f173d74dc4a13b5ccc1f3 (diff) | |
| download | rust-30e149231c627e61524d1b5bd6357886befae9e6.tar.gz rust-30e149231c627e61524d1b5bd6357886befae9e6.zip | |
Use `derive` rather than `deriving` in tests
Diffstat (limited to 'src/test/run-pass/tuple-struct-constructor-pointer.rs')
| -rw-r--r-- | src/test/run-pass/tuple-struct-constructor-pointer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/tuple-struct-constructor-pointer.rs b/src/test/run-pass/tuple-struct-constructor-pointer.rs index 281ea39084f..a4bb914b1ab 100644 --- a/src/test/run-pass/tuple-struct-constructor-pointer.rs +++ b/src/test/run-pass/tuple-struct-constructor-pointer.rs @@ -8,9 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#[deriving(PartialEq, Show)] +#[derive(PartialEq, Show)] struct Foo(int); -#[deriving(PartialEq, Show)] +#[derive(PartialEq, Show)] struct Bar(int, int); pub fn main() { |
