]> git.lizzy.rs Git - rust.git/blobdiff - library/alloc/src/slice.rs
Rollup merge of #96757 - jyn514:fewer-clippy-rebuilds, r=Mark-Simulacrum
[rust.git] / library / alloc / src / slice.rs
index 31edbe0c5afd5d299e294900a5799648f2affc5d..02a47c57b8ae3bcec2a7c27e8018b1d922d53543 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;