Remove unnecessary ::core::ops::

It shows error: failed to resolve. Maybe a missing `extern crate core`
anyway.
This commit is contained in:
Son 2014-10-14 09:20:11 +08:00
parent 8f717ffe60
commit 62b48bd815
1 changed files with 2 additions and 2 deletions

View File

@ -687,7 +687,7 @@ pub trait IndexMut<Index, Result> {
* ```ignore
* struct Foo;
*
* impl ::core::ops::Slice<Foo, Foo> for Foo {
* impl Slice<Foo, Foo> for Foo {
* fn as_slice_<'a>(&'a self) -> &'a Foo {
* println!("Slicing!");
* self
@ -736,7 +736,7 @@ pub trait Slice<Idx, Sized? Result> for Sized? {
* ```ignore
* struct Foo;
*
* impl ::core::ops::SliceMut<Foo, Foo> for Foo {
* impl SliceMut<Foo, Foo> for Foo {
* fn as_mut_slice_<'a>(&'a mut self) -> &'a mut Foo {
* println!("Slicing!");
* self