mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
596e1e3f88
Cleanup linked list - Replaces some checked_sub().unwrap_or(0) with saturating_sub(). - Replaces NonNull::from(Box::leak(node)) with Box::into_non_null(node)