Closed Kogia-sima closed 3 years ago
This PR fix UB caused by the reference to uninitialized key and value in drop_empty_node function. This change also keep MSRV unchanged because linked-hash-map crate already use std::alloc::alloc in ensure_guard_node method.
key
value
drop_empty_node
linked-hash-map
std::alloc::alloc
ensure_guard_node
fix #104
This PR fix UB caused by the reference to uninitialized
key
andvalue
indrop_empty_node
function. This change also keep MSRV unchanged becauselinked-hash-map
crate already usestd::alloc::alloc
inensure_guard_node
method.fix #104