rust-lang/rust — pull request #15394 by pcwalton (2014-07-04 01:34:22+00:00)
Title: librustc (RFC #34): Implement the new `Index` and `IndexMut` traits.

This will break code that used the old `Index` trait. Change this code
to use the new `Index` traits. For reference, here are their signatures:

pub trait Index {
fn index<'a>(&'a self, index: &Index) -> &'a Result;
}
pub trait IndexMut {
fn index_mut<'a>(&'a mut self, index: &Index) -> &'a mut Result;
}

Closes #6515.

[breaking-change]

r? @nick29581