* ```
*/
#[lang="index"]
-pub trait Index<Index, Sized? Result> for Sized? {
+pub trait Index<Sized? Index, Sized? Result> for Sized? {
/// The method for the indexing (`Foo[Bar]`) operation
fn index<'a>(&'a self, index: &Index) -> &'a Result;
}
* ```
*/
#[lang="index_mut"]
-pub trait IndexMut<Index, Result> for Sized? {
+pub trait IndexMut<Sized? Index, Result> for Sized? {
/// The method for the indexing (`Foo[Bar]`) operation
fn index_mut<'a>(&'a mut self, index: &Index) -> &'a mut Result;
}