@@ -626,7 +626,7 @@ shr_impl!(uint u8 u16 u32 u64 int i8 i16 i32 i64)
626
626
* struct Foo;
627
627
*
628
628
* impl Index<Foo, Foo> for Foo {
629
- * fn index<'a>(&'a self, _rhs : &Foo) -> &'a Foo {
629
+ * fn index<'a>(&'a self, _index : &Foo) -> &'a Foo {
630
630
* println!("Indexing!");
631
631
* self
632
632
* }
@@ -657,7 +657,7 @@ pub trait Index<Index, Result> {
657
657
* struct Foo;
658
658
*
659
659
* impl IndexMut<Foo, Foo> for Foo {
660
- * fn index_mut<'a>(&'a mut self, _rhs : &Foo) -> &'a mut Foo {
660
+ * fn index_mut<'a>(&'a mut self, _index : &Foo) -> &'a mut Foo {
661
661
* println!("Indexing!");
662
662
* self
663
663
* }
@@ -687,20 +687,20 @@ pub trait IndexMut<Index, Result> {
687
687
* ```ignore
688
688
* struct Foo;
689
689
*
690
- * impl ::core::ops:: Slice<Foo, Foo> for Foo {
690
+ * impl Slice<Foo, Foo> for Foo {
691
691
* fn as_slice_<'a>(&'a self) -> &'a Foo {
692
692
* println!("Slicing!");
693
693
* self
694
694
* }
695
- * fn slice_from_or_fail<'a>(&'a self, from : &Foo) -> &'a Foo {
695
+ * fn slice_from_or_fail<'a>(&'a self, _from : &Foo) -> &'a Foo {
696
696
* println!("Slicing!");
697
697
* self
698
698
* }
699
- * fn slice_to_or_fail<'a>(&'a self, to : &Foo) -> &'a Foo {
699
+ * fn slice_to_or_fail<'a>(&'a self, _to : &Foo) -> &'a Foo {
700
700
* println!("Slicing!");
701
701
* self
702
702
* }
703
- * fn slice_or_fail<'a>(&'a self, from : &Foo, to : &Foo) -> &'a Foo {
703
+ * fn slice_or_fail<'a>(&'a self, _from : &Foo, _to : &Foo) -> &'a Foo {
704
704
* println!("Slicing!");
705
705
* self
706
706
* }
@@ -736,20 +736,20 @@ pub trait Slice<Idx, Sized? Result> for Sized? {
736
736
* ```ignore
737
737
* struct Foo;
738
738
*
739
- * impl ::core::ops:: SliceMut<Foo, Foo> for Foo {
739
+ * impl SliceMut<Foo, Foo> for Foo {
740
740
* fn as_mut_slice_<'a>(&'a mut self) -> &'a mut Foo {
741
741
* println!("Slicing!");
742
742
* self
743
743
* }
744
- * fn slice_from_or_fail_mut<'a>(&'a mut self, from : &Foo) -> &'a mut Foo {
744
+ * fn slice_from_or_fail_mut<'a>(&'a mut self, _from : &Foo) -> &'a mut Foo {
745
745
* println!("Slicing!");
746
746
* self
747
747
* }
748
- * fn slice_to_or_fail_mut<'a>(&'a mut self, to : &Foo) -> &'a mut Foo {
748
+ * fn slice_to_or_fail_mut<'a>(&'a mut self, _to : &Foo) -> &'a mut Foo {
749
749
* println!("Slicing!");
750
750
* self
751
751
* }
752
- * fn slice_or_fail_mut<'a>(&'a mut self, from : &Foo, to : &Foo) -> &'a mut Foo {
752
+ * fn slice_or_fail_mut<'a>(&'a mut self, _from : &Foo, _to : &Foo) -> &'a mut Foo {
753
753
* println!("Slicing!");
754
754
* self
755
755
* }
@@ -901,4 +901,3 @@ def_fn_mut!(A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12)
901
901
def_fn_mut ! ( A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 )
902
902
def_fn_mut ! ( A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 )
903
903
def_fn_mut ! ( A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 )
904
-
0 commit comments