Skip to content

Commit b6bedc8

Browse files
committed
rename __default_lib_allocator -> __default_alloc_error_handler
1 parent 1911d21 commit b6bedc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/alloc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ pub fn handle_alloc_error(layout: Layout) -> ! {
376376
#[doc(hidden)]
377377
#[allow(unused_attributes)]
378378
#[unstable(feature = "alloc_internals", issue = "none")]
379-
pub mod __default_lib_allocator {
379+
pub mod __alloc_error_handler {
380380
use crate::alloc::Layout;
381381

382382
// called via generated `__rust_alloc_error_handler`

0 commit comments

Comments
 (0)