sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs

This commit is contained in:
Jorge Aparicio
2015-01-03 22:54:18 -05:00
parent 8c5bb80d9b
commit 351409a622
231 changed files with 1115 additions and 1115 deletions

View File

@@ -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 {

View File

@@ -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,