File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -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
* }
@@ -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
-
You can’t perform that action at this time.
0 commit comments