about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2015-06-01 10:46:28 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2015-06-01 10:46:28 +0200
commit42c5c982c4589d4e1f480407d29769f176f4e104 (patch)
tree04537d43133f148fe587ef2c8976445f9f252590
parent9eb416b8a44478b69102189ff6ff8fdce8d4d116 (diff)
downloadrust-42c5c982c4589d4e1f480407d29769f176f4e104.tar.gz
rust-42c5c982c4589d4e1f480407d29769f176f4e104.zip
Remove full path
-rw-r--r--src/librustc/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs
index 4597ae40161..e1034976589 100644
--- a/src/librustc/diagnostics.rs
+++ b/src/librustc/diagnostics.rs
@@ -188,7 +188,7 @@ use std::ops::Index;
 
 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 }