Skip to content

Commit

Permalink
remove #[inline] for consistency in windows/os_str
Browse files Browse the repository at this point in the history
  • Loading branch information
TyPR124 committed Mar 16, 2020
1 parent 21975a1 commit cce8ee8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libstd/sys/windows/os_str.rs
Expand Up @@ -83,7 +83,6 @@ impl Buf {
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,
Expand Down

0 comments on commit cce8ee8

Please sign in to comment.