aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Bousfield <ljbousfield@gmail.com>2018-05-12 16:57:52 -0600
committerAndrew Gallant <jamslam@gmail.com>2018-05-12 18:57:52 -0400
commit965103be61f7e1264c66a047029a0b026e113b47 (patch)
treeed55eb3f72ac4ff64d940cb8c570a1b0cabd4e98
parent7ecb53d40c2f46d61c0c338ebf53a1f0aca47f98 (diff)
downloadbyteorder-965103be61f7e1264c66a047029a0b026e113b47.tar.gz
i128: get rid of i128 Rust feature
We no longer need to enable the i128 Rust feature, since it is stabilized. We leave byteorder's i128 feature in tact to preserve compilation on Rust 1.12.
-rw-r--r--benches/bench.rs1
-rw-r--r--src/lib.rs6
2 files changed, 0 insertions, 7 deletions
diff --git a/benches/bench.rs b/benches/bench.rs
index 845e489..8233a07 100644
--- a/benches/bench.rs
+++ b/benches/bench.rs
@@ -1,4 +1,3 @@
-#![cfg_attr(feature = "i128", feature(i128))]
#![feature(test)]
extern crate byteorder;
diff --git a/src/lib.rs b/src/lib.rs
index eb20a81..a4a7add 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -63,8 +63,6 @@ This crate can also be used without the standard library.
#![deny(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]
-#![cfg_attr(feature = "i128", feature(i128_type))]
-#![cfg_attr(all(feature = "i128", test), feature(i128))]
#![doc(html_root_url = "https://docs.rs/byteorder/1.2.1")]
#[cfg(feature = "std")]
@@ -1495,8 +1493,6 @@ pub trait ByteOrder
/// Convert the host platform's endianness to big-endian:
///
/// ```rust
- /// #![feature(i128_type)]
- ///
/// use byteorder::{ByteOrder, BigEndian};
///
/// let mut numbers = [5, 65000];
@@ -1592,8 +1588,6 @@ pub trait ByteOrder
/// Convert the host platform's endianness to big-endian:
///
/// ```rust
- /// #![feature(i128_type)]
- ///
/// use byteorder::{ByteOrder, BigEndian};
///
/// let mut numbers = [5, 65000];