diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-05-16 08:55:57 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-05-16 08:55:57 +1000 |
| commit | 5dc5efefd47527067ab5b7862d89a99da4824f49 (patch) | |
| tree | cc012135abd498773efbdb299163035af2e7d989 /src/libstd/workcache.rs | |
| parent | 6a9c3bd86e0271f26dc63bd12e0d54a35b704dff (diff) | |
| download | rust-5dc5efefd47527067ab5b7862d89a99da4824f49.tar.gz rust-5dc5efefd47527067ab5b7862d89a99da4824f49.zip | |
syntax: deprecate #[auto_{en,de}code] in favour of #[deriving({En,De}codable)].
Replace all instances of #[auto_*code] with the appropriate #[deriving] attribute and remove the majority of the actual code, leaving stubs to refer the user to the new syntax.
Diffstat (limited to 'src/libstd/workcache.rs')
| -rw-r--r-- | src/libstd/workcache.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstd/workcache.rs b/src/libstd/workcache.rs index a9e4ec50c7c..f173df60df8 100644 --- a/src/libstd/workcache.rs +++ b/src/libstd/workcache.rs @@ -92,9 +92,7 @@ use core::util::replace; * */ -#[deriving(Eq)] -#[auto_encode] -#[auto_decode] +#[deriving(Eq, Encodable, Decodable)] struct WorkKey { kind: ~str, name: ~str |
