mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
remove #[inline] for consistency in windows/os_str
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user