Remove blocktree blob references (#5691)

* Remove blocktree blob references

* fixes and cleanup

* replace uninitialized() call with MaybeUninit

* fix bench
This commit is contained in:
Pankaj Garg
2019-09-03 21:32:51 -07:00
committed by GitHub
parent 2b696ac8dc
commit 3b0d48e3b8
23 changed files with 691 additions and 3292 deletions

View File

@@ -73,7 +73,7 @@ impl fmt::Debug for Packet {
impl Default for Packet {
fn default() -> Packet {
Packet {
data: unsafe { std::mem::uninitialized() },
data: unsafe { std::mem::MaybeUninit::uninit().assume_init() },
meta: Meta::default(),
}
}