Commit e4c80b4
committed
refactor(allocator/vec2): import
This `handle_alloc_error` function in `allocator-api2` is re-exported from `std::alloc::handle_alloc_error`, consider consistency, we temporarily import from `allocator-api2`handle_alloc_error function from allocator_api2 instead of writing a custom one (#9860)1 parent 385d009 commit e4c80b4
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | 681 | | |
687 | 682 | | |
688 | 683 | | |
| |||
0 commit comments