File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 58
58
#[ doc( alias = "]" ) ]
59
59
#[ doc( alias = "[" ) ]
60
60
#[ doc( alias = "[]" ) ]
61
- pub trait Index < Idx : ? Sized > {
61
+ pub trait Index < Idx > {
62
62
/// The returned type after indexing.
63
63
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
64
64
type Output : ?Sized ;
@@ -163,7 +163,7 @@ see chapter in The Book <https://doc.rust-lang.org/book/ch08-02-strings.html#ind
163
163
#[ doc( alias = "[" ) ]
164
164
#[ doc( alias = "]" ) ]
165
165
#[ doc( alias = "[]" ) ]
166
- pub trait IndexMut < Idx : ? Sized > : Index < Idx > {
166
+ pub trait IndexMut < Idx > : Index < Idx > {
167
167
/// Performs the mutable indexing (`container[index]`) operation.
168
168
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
169
169
fn index_mut ( & mut self , index : Idx ) -> & mut Self :: Output ;
You can’t perform that action at this time.
0 commit comments