From 9f1217da9132551ee5708c16aba821fe3c671d09 Mon Sep 17 00:00:00 2001 From: Aaron Turon Date: Sun, 16 Nov 2014 19:44:19 -0800 Subject: [PATCH] Further DSTify Index traits --- src/libcore/ops.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index 3a2e178d2ea..b4bf5351e59 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -638,7 +638,7 @@ shr_impl!(uint u8 u16 u32 u64 int i8 i16 i32 i64) * ``` */ #[lang="index"] -pub trait Index for Sized? { +pub trait Index for Sized? { /// The method for the indexing (`Foo[Bar]`) operation fn index<'a>(&'a self, index: &Index) -> &'a Result; } @@ -669,7 +669,7 @@ pub trait Index for Sized? { * ``` */ #[lang="index_mut"] -pub trait IndexMut for Sized? { +pub trait IndexMut for Sized? { /// The method for the indexing (`Foo[Bar]`) operation fn index_mut<'a>(&'a mut self, index: &Index) -> &'a mut Result; }