Remove unnecessary ::core::ops::
It shows error: failed to resolve. Maybe a missing `extern crate core` anyway.
This commit is contained in:
parent
8f717ffe60
commit
62b48bd815
1 changed files with 2 additions and 2 deletions
|
@ -687,7 +687,7 @@ pub trait IndexMut<Index, Result> {
|
||||||
* ```ignore
|
* ```ignore
|
||||||
* struct Foo;
|
* struct Foo;
|
||||||
*
|
*
|
||||||
* impl ::core::ops::Slice<Foo, Foo> for Foo {
|
* impl Slice<Foo, Foo> for Foo {
|
||||||
* fn as_slice_<'a>(&'a self) -> &'a Foo {
|
* fn as_slice_<'a>(&'a self) -> &'a Foo {
|
||||||
* println!("Slicing!");
|
* println!("Slicing!");
|
||||||
* self
|
* self
|
||||||
|
@ -736,7 +736,7 @@ pub trait Slice<Idx, Sized? Result> for Sized? {
|
||||||
* ```ignore
|
* ```ignore
|
||||||
* struct Foo;
|
* 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 {
|
* fn as_mut_slice_<'a>(&'a mut self) -> &'a mut Foo {
|
||||||
* println!("Slicing!");
|
* println!("Slicing!");
|
||||||
* self
|
* self
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue