From 42c5c982c4589d4e1f480407d29769f176f4e104 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 1 Jun 2015 10:46:28 +0200 Subject: [PATCH] Remove full path --- src/librustc/diagnostics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 4597ae40161d..e10349765899 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 for Foo { +impl Index for Foo { type Output = u8; fn index<'a>(&'a self, idx: u8) -> &'a u8 { &self.a }