mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +03:00
62b362472d
Take a single root node in range_search The unsafe code can be justified within range_search, as it makes sure to not overlap the returned references, but from the callers perspective it's an entirely safe algorithm and there's no need for the caller to know about the duplication. cc @ssomers r? @Amanieu