diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2015-06-01 10:46:28 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2015-06-01 10:46:28 +0200 |
| commit | 42c5c982c4589d4e1f480407d29769f176f4e104 (patch) | |
| tree | 04537d43133f148fe587ef2c8976445f9f252590 | |
| parent | 9eb416b8a44478b69102189ff6ff8fdce8d4d116 (diff) | |
| download | rust-42c5c982c4589d4e1f480407d29769f176f4e104.tar.gz rust-42c5c982c4589d4e1f480407d29769f176f4e104.zip | |
Remove full path
| -rw-r--r-- | src/librustc/diagnostics.rs | 2 |
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 } |
