diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-30 12:26:44 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-30 14:53:34 -0800 |
| commit | 3a2530d611fc92bd8094ec1745a927e059ac432a (patch) | |
| tree | 0e02c7b12ca7ab267ba36903a535ec3cb286a23e /src/libcore/num | |
| parent | 188d7c0bc36e69b99f6bdefd613027e53fa8b2d0 (diff) | |
| download | rust-3a2530d611fc92bd8094ec1745a927e059ac432a.tar.gz rust-3a2530d611fc92bd8094ec1745a927e059ac432a.zip | |
Test fixes and rebase conflicts
Also some tidying up of a bunch of crate attributes
Diffstat (limited to 'src/libcore/num')
| -rw-r--r-- | src/libcore/num/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index 206e63c7a17..b7c5c6640ce 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -1728,11 +1728,11 @@ from_str_radix_int_impl! { u32 } from_str_radix_int_impl! { u64 } /// An error which can be returned when parsing an integer. -#[derive(Show, Clone, PartialEq)] +#[derive(Debug, Clone, PartialEq)] #[stable(feature = "rust1", since = "1.0.0")] pub struct ParseIntError { kind: IntErrorKind } -#[derive(Show, Clone, PartialEq)] +#[derive(Debug, Clone, PartialEq)] enum IntErrorKind { Empty, InvalidDigit, @@ -1760,11 +1760,11 @@ impl Error for ParseIntError { } /// An error which can be returned when parsing a float. -#[derive(Show, Clone, PartialEq)] +#[derive(Debug, Clone, PartialEq)] #[stable(feature = "rust1", since = "1.0.0")] pub struct ParseFloatError { kind: FloatErrorKind } -#[derive(Show, Clone, PartialEq)] +#[derive(Debug, Clone, PartialEq)] enum FloatErrorKind { Empty, Invalid, |
