-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add try_new_uninit_slice_in and try_new_zeroed_slice_in
Reimplement try_new_uninit_slice and try_new_zeroed_slice via more generic versions added. Handle ZST in Box impl directly. Avoid allocating zero sized memory.
- Loading branch information
1 parent
ca1e6b5
commit e2994d0
Showing
1 changed file
with
108 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters