diff options
| author | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-11-13 00:02:42 +1100 |
|---|---|---|
| committer | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-11-13 03:46:03 +1100 |
| commit | de938b6ca1a2b6b6df65d5935c765a7c25fbce84 (patch) | |
| tree | f8b7c283989f7ac9a7694989cfd3a4be71e74dee /src/libcore/fmt | |
| parent | e965ba85ca689ad77f63b7f0af9d7e337dcb4825 (diff) | |
| download | rust-de938b6ca1a2b6b6df65d5935c765a7c25fbce84.tar.gz rust-de938b6ca1a2b6b6df65d5935c765a7c25fbce84.zip | |
Remove Signed trait and add SignedInt trait
The methods have been moved into Float and SignedInt
Diffstat (limited to 'src/libcore/fmt')
| -rw-r--r-- | src/libcore/fmt/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs index 081f373b831..380ca82783a 100644 --- a/src/libcore/fmt/mod.rs +++ b/src/libcore/fmt/mod.rs @@ -620,7 +620,7 @@ impl<'a, T> Pointer for &'a mut T { macro_rules! floating(($ty:ident) => { impl Float for $ty { fn fmt(&self, fmt: &mut Formatter) -> Result { - use num::{Float, Signed}; + use num::Float; let digits = match fmt.precision { Some(i) => float::DigExact(i), @@ -641,7 +641,7 @@ macro_rules! floating(($ty:ident) => { impl LowerExp for $ty { fn fmt(&self, fmt: &mut Formatter) -> Result { - use num::{Float, Signed}; + use num::Float; let digits = match fmt.precision { Some(i) => float::DigExact(i), @@ -662,7 +662,7 @@ macro_rules! floating(($ty:ident) => { impl UpperExp for $ty { fn fmt(&self, fmt: &mut Formatter) -> Result { - use num::{Float, Signed}; + use num::Float; let digits = match fmt.precision { Some(i) => float::DigExact(i), |
