Skip to content

Commit 2e4c45f

Browse files
committed
Fix unreachable_pub lint
1 parent 4ae9aaa commit 2e4c45f

File tree

3 files changed

+64
-54
lines changed

3 files changed

+64
-54
lines changed

src/raw/alloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ mod inner {
3434
use crate::alloc::alloc::Layout;
3535
#[cfg(test)]
3636
pub use allocator_api2::alloc::AllocError;
37-
pub use allocator_api2::alloc::{Allocator, Global};
37+
pub(crate) use allocator_api2::alloc::{Allocator, Global};
3838
use core::ptr::NonNull;
3939

4040
#[allow(clippy::map_err_ignore)]

0 commit comments

Comments
 (0)