mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 08:37:14 +00:00
Remove full path
This commit is contained in:
parent
9eb416b8a4
commit
42c5c982c4
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue