about summary refs log tree commit diff
path: root/src/liballoc/slice.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-02-02 11:05:20 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-02-02 11:05:20 +0100
commit748970dfa9c12c1a09da4ff3ec724e4dbf7e796d (patch)
treee2dbc382dadd1f5b1f6708f53f3de30e429ae92e /src/liballoc/slice.rs
parent3bfa0a35f65b08197fe677731ac8a9a81a7710bd (diff)
downloadrust-748970dfa9c12c1a09da4ff3ec724e4dbf7e796d.tar.gz
rust-748970dfa9c12c1a09da4ff3ec724e4dbf7e796d.zip
liballoc: apply uniform_paths.
Diffstat (limited to 'src/liballoc/slice.rs')
-rw-r--r--src/liballoc/slice.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs
index 5e17396f6d7..9d1197117bb 100644
--- a/src/liballoc/slice.rs
+++ b/src/liballoc/slice.rs
@@ -129,12 +129,12 @@ pub use core::slice::{RChunks, RChunksMut, RChunksExact, RChunksExactMut};
 // HACK(japaric) needed for the implementation of `vec!` macro during testing
 // NB see the hack module in this file for more details
 #[cfg(test)]
-pub use self::hack::into_vec;
+pub use hack::into_vec;
 
 // HACK(japaric) needed for the implementation of `Vec::clone` during testing
 // NB see the hack module in this file for more details
 #[cfg(test)]
-pub use self::hack::to_vec;
+pub use hack::to_vec;
 
 // HACK(japaric): With cfg(test) `impl [T]` is not available, these three
 // functions are actually methods that are in `impl [T]` but not in