Skip to content

Commit ecc9dcc

Browse files
committed
rollup merge of #21367: steveklabnik/remove_gate
This gate was `Accepted`, so we shouldn't need these.
2 parents 0447721 + f7fe249 commit ecc9dcc

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

src/libcore/ops.rs

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333
//! demonstrates adding and subtracting two `Point`s.
3434
//!
3535
//! ```rust
36-
//! #![feature(associated_types)]
37-
//!
3836
//! use std::ops::{Add, Sub};
3937
//!
4038
//! #[derive(Show)]
@@ -164,8 +162,6 @@ macro_rules! forward_ref_binop {
164162
/// calling `add`, and therefore, `main` prints `Adding!`.
165163
///
166164
/// ```rust
167-
/// #![feature(associated_types)]
168-
///
169165
/// use std::ops::Add;
170166
///
171167
/// #[derive(Copy)]
@@ -219,8 +215,6 @@ add_impl! { uint u8 u16 u32 u64 int i8 i16 i32 i64 f32 f64 }
219215
/// calling `sub`, and therefore, `main` prints `Subtracting!`.
220216
///
221217
/// ```rust
222-
/// #![feature(associated_types)]
223-
///
224218
/// use std::ops::Sub;
225219
///
226220
/// #[derive(Copy)]
@@ -274,8 +268,6 @@ sub_impl! { uint u8 u16 u32 u64 int i8 i16 i32 i64 f32 f64 }
274268
/// calling `mul`, and therefore, `main` prints `Multiplying!`.
275269
///
276270
/// ```rust
277-
/// #![feature(associated_types)]
278-
///
279271
/// use std::ops::Mul;
280272
///
281273
/// #[derive(Copy)]
@@ -329,8 +321,6 @@ mul_impl! { uint u8 u16 u32 u64 int i8 i16 i32 i64 f32 f64 }
329321
/// calling `div`, and therefore, `main` prints `Dividing!`.
330322
///
331323
/// ```
332-
/// #![feature(associated_types)]
333-
///
334324
/// use std::ops::Div;
335325
///
336326
/// #[derive(Copy)]
@@ -384,8 +374,6 @@ div_impl! { uint u8 u16 u32 u64 int i8 i16 i32 i64 f32 f64 }
384374
/// calling `rem`, and therefore, `main` prints `Remainder-ing!`.
385375
///
386376
/// ```
387-
/// #![feature(associated_types)]
388-
///
389377
/// use std::ops::Rem;
390378
///
391379
/// #[derive(Copy)]
@@ -458,8 +446,6 @@ rem_float_impl! { f64, fmod }
458446
/// `neg`, and therefore, `main` prints `Negating!`.
459447
///
460448
/// ```
461-
/// #![feature(associated_types)]
462-
///
463449
/// use std::ops::Neg;
464450
///
465451
/// struct Foo;
@@ -537,8 +523,6 @@ neg_uint_impl! { u64, i64 }
537523
/// `not`, and therefore, `main` prints `Not-ing!`.
538524
///
539525
/// ```
540-
/// #![feature(associated_types)]
541-
///
542526
/// use std::ops::Not;
543527
///
544528
/// struct Foo;
@@ -593,8 +577,6 @@ not_impl! { bool uint u8 u16 u32 u64 int i8 i16 i32 i64 }
593577
/// calling `bitand`, and therefore, `main` prints `Bitwise And-ing!`.
594578
///
595579
/// ```
596-
/// #![feature(associated_types)]
597-
///
598580
/// use std::ops::BitAnd;
599581
///
600582
/// #[derive(Copy)]
@@ -648,8 +630,6 @@ bitand_impl! { bool uint u8 u16 u32 u64 int i8 i16 i32 i64 }
648630
/// calling `bitor`, and therefore, `main` prints `Bitwise Or-ing!`.
649631
///
650632
/// ```
651-
/// #![feature(associated_types)]
652-
///
653633
/// use std::ops::BitOr;
654634
///
655635
/// #[derive(Copy)]
@@ -703,8 +683,6 @@ bitor_impl! { bool uint u8 u16 u32 u64 int i8 i16 i32 i64 }
703683
/// calling `bitxor`, and therefore, `main` prints `Bitwise Xor-ing!`.
704684
///
705685
/// ```
706-
/// #![feature(associated_types)]
707-
///
708686
/// use std::ops::BitXor;
709687
///
710688
/// #[derive(Copy)]
@@ -758,8 +736,6 @@ bitxor_impl! { bool uint u8 u16 u32 u64 int i8 i16 i32 i64 }
758736
/// calling `shl`, and therefore, `main` prints `Shifting left!`.
759737
///
760738
/// ```
761-
/// #![feature(associated_types)]
762-
///
763739
/// use std::ops::Shl;
764740
///
765741
/// #[derive(Copy)]
@@ -831,8 +807,6 @@ shl_impl_all! { u8 u16 u32 u64 usize i8 i16 i32 i64 isize }
831807
/// calling `shr`, and therefore, `main` prints `Shifting right!`.
832808
///
833809
/// ```
834-
/// #![feature(associated_types)]
835-
///
836810
/// use std::ops::Shr;
837811
///
838812
/// #[derive(Copy)]
@@ -1094,8 +1068,6 @@ impl<Idx: fmt::Show> fmt::Show for RangeTo<Idx> {
10941068
/// struct.
10951069
///
10961070
/// ```
1097-
/// #![feature(associated_types)]
1098-
///
10991071
/// use std::ops::Deref;
11001072
///
11011073
/// struct DerefExample<T> {
@@ -1149,8 +1121,6 @@ impl<'a, T: ?Sized> Deref for &'a mut T {
11491121
/// struct.
11501122
///
11511123
/// ```
1152-
/// #![feature(associated_types)]
1153-
///
11541124
/// use std::ops::{Deref, DerefMut};
11551125
///
11561126
/// struct DerefMutExample<T> {

0 commit comments

Comments
 (0)