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 fe0c8ee + a499c98 commit 378536fCopy full SHA for 378536f
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