]> git.lizzy.rs Git - rust.git/commitdiff
Remove full path
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 1 Jun 2015 08:46:28 +0000 (10:46 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 1 Jun 2015 08:46:28 +0000 (10:46 +0200)
src/librustc/diagnostics.rs

index 4597ae40161dd965c34dfc76c2afcec8a0d47270..e10349765899e85106c2165dbb8898b6c2fac9a1 100644 (file)
@@ -188,7 +188,7 @@ struct X { x: (), }
 
 struct Foo { a: u8 }
 
-impl ::std::ops::Index<u8> for Foo {
+impl Index<u8> for Foo {
     type Output = u8;
 
     fn index<'a>(&'a self, idx: u8) -> &'a u8 { &self.a }