Skip to content

Commit 62b48bd

Browse files
committed
Remove unnecessary ::core::ops::
It shows error: failed to resolve. Maybe a missing `extern crate core` anyway.
1 parent 8f717ff commit 62b48bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/ops.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ pub trait IndexMut<Index, Result> {
687687
* ```ignore
688688
* struct Foo;
689689
*
690-
* impl ::core::ops::Slice<Foo, Foo> for Foo {
690+
* impl Slice<Foo, Foo> for Foo {
691691
* fn as_slice_<'a>(&'a self) -> &'a Foo {
692692
* println!("Slicing!");
693693
* self
@@ -736,7 +736,7 @@ pub trait Slice<Idx, Sized? Result> for Sized? {
736736
* ```ignore
737737
* struct Foo;
738738
*
739-
* impl ::core::ops::SliceMut<Foo, Foo> for Foo {
739+
* impl SliceMut<Foo, Foo> for Foo {
740740
* fn as_mut_slice_<'a>(&'a mut self) -> &'a mut Foo {
741741
* println!("Slicing!");
742742
* self

0 commit comments

Comments
 (0)