remove #[inline] for consistency in windows/os_str

This commit is contained in:
TyPR124
2020-03-16 16:15:13 -04:00
parent 21975a1aaa
commit cce8ee8bf7
-1
View File
@@ -83,7 +83,6 @@ pub fn as_slice(&self) -> &Slice {
unsafe { mem::transmute(self.inner.as_slice()) }
}
#[inline]
pub fn as_mut_slice(&mut self) -> &mut Slice {
// Safety: Slice is just a wrapper for Wtf8,
// and as_slice returns &Wtf8. Therefore,