sdleffler / qp-trie-rs

An idiomatic and fast QP-trie implementation in pure Rust.
Mozilla Public License 2.0
95 stars 24 forks source link

Correctly mark `.unwrap_{leaf|branch}[_{ref|mut}]` methods as unsafe #4

Closed sdleffler closed 7 years ago

sdleffler commented 7 years ago

As pointed out by burnsushi here a few gaffes have been made with respect to what internal functions should be marked unsafe (this is strictly about internal functions, and not the external API.)