@@ -802,7 +802,7 @@ shr_impl! { uint u8 u16 u32 u64 int i8 i16 i32 i64 }
802802/// }
803803/// ```
804804#[ lang="index" ]
805- pub trait Index <Sized ? Index > for Sized ? {
805+ pub trait Index < Sized ? Index > {
806806 type Sized ? Output ;
807807
808808 /// The method for the indexing (`Foo[Bar]`) operation
@@ -839,7 +839,7 @@ pub trait Index<Sized? Index> for Sized? {
839839/// }
840840/// ```
841841#[ lang="index_mut" ]
842- pub trait IndexMut <Sized ? Index > for Sized ? {
842+ pub trait IndexMut < Sized ? Index > {
843843 type Sized ? Output ;
844844
845845 /// The method for the indexing (`Foo[Bar]`) operation
@@ -884,7 +884,7 @@ pub trait IndexMut<Sized? Index> for Sized? {
884884/// }
885885/// ```
886886#[ lang="slice" ]
887- pub trait Slice < Sized ? Idx , Sized ? Result > for Sized ? {
887+ pub trait Slice < Sized ? Idx , Sized ? Result > {
888888 /// The method for the slicing operation foo[]
889889 fn as_slice_ < ' a > ( & ' a self ) -> & ' a Result ;
890890 /// The method for the slicing operation foo[from..]
@@ -933,7 +933,7 @@ pub trait Slice<Sized? Idx, Sized? Result> for Sized? {
933933/// }
934934/// ```
935935#[ lang="slice_mut" ]
936- pub trait SliceMut < Sized ? Idx , Sized ? Result > for Sized ? {
936+ pub trait SliceMut < Sized ? Idx , Sized ? Result > {
937937 /// The method for the slicing operation foo[]
938938 fn as_mut_slice_ < ' a > ( & ' a mut self ) -> & ' a mut Result ;
939939 /// The method for the slicing operation foo[from..]
@@ -1069,7 +1069,7 @@ pub struct RangeTo<Idx> {
10691069/// ```
10701070#[ lang="deref" ]
10711071#[ stable]
1072- pub trait Deref for Sized ? {
1072+ pub trait Deref {
10731073 #[ stable]
10741074 type Sized ? Target ;
10751075
@@ -1131,7 +1131,7 @@ impl<'a, Sized? T> Deref for &'a mut T {
11311131/// ```
11321132#[ lang="deref_mut" ]
11331133#[ stable]
1134- pub trait DerefMut for Sized ? : Deref {
1134+ pub trait DerefMut : Deref {
11351135 /// The method called to mutably dereference a value
11361136 #[ stable]
11371137 fn deref_mut < ' a > ( & ' a mut self ) -> & ' a mut <Self as Deref >:: Target ;
@@ -1145,15 +1145,15 @@ impl<'a, Sized? T> DerefMut for &'a mut T {
11451145/// A version of the call operator that takes an immutable receiver.
11461146#[ lang="fn" ]
11471147#[ unstable = "uncertain about variadic generics, input versus associated types" ]
1148- pub trait Fn < Args , Result > for Sized ? {
1148+ pub trait Fn < Args , Result > {
11491149 /// This is called when the call operator is used.
11501150 extern "rust-call" fn call ( & self , args : Args ) -> Result ;
11511151}
11521152
11531153/// A version of the call operator that takes a mutable receiver.
11541154#[ lang="fn_mut" ]
11551155#[ unstable = "uncertain about variadic generics, input versus associated types" ]
1156- pub trait FnMut < Args , Result > for Sized ? {
1156+ pub trait FnMut < Args , Result > {
11571157 /// This is called when the call operator is used.
11581158 extern "rust-call" fn call_mut ( & mut self , args : Args ) -> Result ;
11591159}
0 commit comments