Track Rust nightlies

This commit is contained in:
Carl Lerche
2015-03-25 12:44:38 -07:00
parent 53624038ad
commit 8f526231d8
9 changed files with 41 additions and 41 deletions
+3 -3
View File
@@ -163,7 +163,7 @@ impl ToBytes for Bytes {
impl ops::Index<usize> for Bytes {
type Output = u8;
fn index(&self, index: &usize) -> &u8 {
fn index(&self, index: usize) -> &u8 {
self.obj().index(index)
}
}
@@ -212,7 +212,7 @@ trait ByteStrPriv {
fn get_type_id(&self) -> TypeId;
fn index(&self, index: &usize) -> &u8;
fn index(&self, index: usize) -> &u8;
fn len(&self) -> usize;
@@ -245,7 +245,7 @@ impl<B: ByteStr + 'static> ByteStrPriv for B {
Any::get_type_id(self)
}
fn index(&self, index: &usize) -> &u8 {
fn index(&self, index: usize) -> &u8 {
ops::Index::index(self, index)
}