diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2015-01-03 22:54:18 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2015-01-03 22:54:18 -0500 |
| commit | 351409a62287c7993bc680d9dfcfa13cba9c9c0c (patch) | |
| tree | 47f99908d999aa612a4cd44932dcdc3b3a1a966a /src/libstd/num | |
| parent | 8c5bb80d9b8373dd3c14cde0ba79f7d507839782 (diff) | |
| download | rust-351409a62287c7993bc680d9dfcfa13cba9c9c0c.tar.gz rust-351409a62287c7993bc680d9dfcfa13cba9c9c0c.zip | |
sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs
Diffstat (limited to 'src/libstd/num')
| -rw-r--r-- | src/libstd/num/mod.rs | 2 | ||||
| -rw-r--r-- | src/libstd/num/strconv.rs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/num/mod.rs b/src/libstd/num/mod.rs index 007d89a942d..8f21fb0b8b9 100644 --- a/src/libstd/num/mod.rs +++ b/src/libstd/num/mod.rs @@ -727,7 +727,7 @@ mod tests { test_checked_next_power_of_two! { test_checked_next_power_of_two_u64, u64 } test_checked_next_power_of_two! { test_checked_next_power_of_two_uint, uint } - #[deriving(PartialEq, Show)] + #[derive(PartialEq, Show)] struct Value { x: int } impl ToPrimitive for Value { diff --git a/src/libstd/num/strconv.rs b/src/libstd/num/strconv.rs index c2d2fe2bec3..20dd70f0faa 100644 --- a/src/libstd/num/strconv.rs +++ b/src/libstd/num/strconv.rs @@ -26,7 +26,7 @@ use string::String; use vec::Vec; /// A flag that specifies whether to use exponential (scientific) notation. -#[deriving(Copy)] +#[derive(Copy)] pub enum ExponentFormat { /// Do not use exponential notation. ExpNone, @@ -41,7 +41,7 @@ pub enum ExponentFormat { /// The number of digits used for emitting the fractional part of a number, if /// any. -#[deriving(Copy)] +#[derive(Copy)] pub enum SignificantDigits { /// All calculable digits will be printed. /// @@ -58,7 +58,7 @@ pub enum SignificantDigits { } /// How to emit the sign of a number. -#[deriving(Copy)] +#[derive(Copy)] pub enum SignFormat { /// No sign will be printed. The exponent sign will also be emitted. SignNone, |
