]> git.lizzy.rs Git - rust.git/blobdiff - library/alloc/src/slice.rs
Rollup merge of #96882 - jackh726:no-subst, r=oli-obk
[rust.git] / library / alloc / src / slice.rs
index 68785c791590ee02d6f463283a740580df816e67..5bdf36a63a22506122a2c5bf6a0ebbba99bc5ffe 100644 (file)
 // functions are actually methods that are in `impl [T]` but not in
 // `core::slice::SliceExt` - we need to supply these functions for the
 // `test_permutations` test
-mod hack {
+pub(crate) mod hack {
     use core::alloc::Allocator;
 
     use crate::boxed::Box;