remove #[inline] for consistency in windows/os_str
This commit is contained in:
parent
21975a1aaa
commit
cce8ee8bf7
@ -83,7 +83,6 @@ impl Buf {
|
|||||||
unsafe { mem::transmute(self.inner.as_slice()) }
|
unsafe { mem::transmute(self.inner.as_slice()) }
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
|
||||||
pub fn as_mut_slice(&mut self) -> &mut Slice {
|
pub fn as_mut_slice(&mut self) -> &mut Slice {
|
||||||
// Safety: Slice is just a wrapper for Wtf8,
|
// Safety: Slice is just a wrapper for Wtf8,
|
||||||
// and as_slice returns &Wtf8. Therefore,
|
// and as_slice returns &Wtf8. Therefore,
|
||||||
|
Loading…
Reference in New Issue
Block a user