Add #[must_use] to as_type conversions Clippy missed these: ```rust alloc::string::String fn as_mut_str(&mut self) -> &mut str; core::mem::NonNull<T> unsafe fn as_uninit_mut<'a>(&mut self) -> &'a MaybeUninit<T>; str unsafe fn as_bytes_mut(&mut self) -> &mut [u8]; str fn as_mut_ptr(&mut self) -> *mut u8; ``` Parent issue: #89692 r? ````@joshtriplett```` |
||
|---|---|---|
| .. | ||
| btree | ||
| linked_list | ||
| vec_deque | ||
| binary_heap.rs | ||
| linked_list.rs | ||
| mod.rs | ||