about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2017-04-20 15:12:42 -0700
committerJosh Stone <jistone@redhat.com>2017-04-20 21:16:31 -0700
commitc903ac64e58241a71ec42e791b0cc1451ffc3840 (patch)
tree82e191ca7c8c27ecb90c19b24db798625fa678f7 /src/libstd
parent313aab8fbeb98730f8ffa741ccf54f843d5e3525 (diff)
downloadrust-c903ac64e58241a71ec42e791b0cc1451ffc3840.tar.gz
rust-c903ac64e58241a71ec42e791b0cc1451ffc3840.zip
Remove num::{Zero,One}
[unstable, deprecated since 1.11.0]
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/lib.rs1
-rw-r--r--src/libstd/num.rs3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 6c3abf99d11..28b94107c42 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -318,7 +318,6 @@
 #![feature(untagged_unions)]
 #![feature(unwind_attributes)]
 #![feature(vec_push_all)]
-#![feature(zero_one)]
 #![cfg_attr(test, feature(update_panic_count))]
 #![cfg_attr(stage0, feature(pub_restricted))]
 #![cfg_attr(test, feature(float_bits_conv))]
diff --git a/src/libstd/num.rs b/src/libstd/num.rs
index 5f83d077a13..ff89887ac92 100644
--- a/src/libstd/num.rs
+++ b/src/libstd/num.rs
@@ -17,9 +17,6 @@
 #![allow(missing_docs)]
 
 #[stable(feature = "rust1", since = "1.0.0")]
-#[allow(deprecated)]
-pub use core::num::{Zero, One};
-#[stable(feature = "rust1", since = "1.0.0")]
 pub use core::num::{FpCategory, ParseIntError, ParseFloatError, TryFromIntError};
 #[stable(feature = "rust1", since = "1.0.0")]
 pub use core::num::Wrapping;