We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd6a218 + 60bcfdb commit d9f832aCopy full SHA for d9f832a
tests/pass/both_borrows/smallvec.rs
@@ -25,7 +25,7 @@ impl<T, const N: usize> RawSmallVec<T, N> {
25
}
26
27
const fn as_mut_ptr_inline(&mut self) -> *mut T {
28
- (unsafe { &raw mut self.inline }) as *mut T
+ &raw mut self.inline as *mut T
29
30
31
const unsafe fn as_mut_ptr_heap(&mut self) -> *mut T {
0 commit comments