Avoid zero-sized allocs in ThinBox if T and H are both ZSTs.
This commit is contained in:
parent
764b8615e9
commit
fc109bb6c6
3 changed files with 277 additions and 18 deletions
|
@ -42,6 +42,9 @@
|
|||
#![feature(panic_update_hook)]
|
||||
#![feature(slice_flatten)]
|
||||
#![feature(thin_box)]
|
||||
#![feature(bench_black_box)]
|
||||
#![feature(strict_provenance)]
|
||||
#![feature(once_cell)]
|
||||
|
||||
use std::collections::hash_map::DefaultHasher;
|
||||
use std::hash::{Hash, Hasher};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue