summary refs log tree commit diff
path: root/src/libcore/fmt
diff options
context:
space:
mode:
authorBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-11-13 00:02:42 +1100
committerBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-11-13 03:46:03 +1100
commitde938b6ca1a2b6b6df65d5935c765a7c25fbce84 (patch)
treef8b7c283989f7ac9a7694989cfd3a4be71e74dee /src/libcore/fmt
parente965ba85ca689ad77f63b7f0af9d7e337dcb4825 (diff)
downloadrust-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.rs6
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),