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.
1 parent 4a7fb97 commit 7e6d97bCopy full SHA for 7e6d97b
library/std/src/os/unix/ffi/os_str.rs
@@ -28,9 +28,11 @@ pub trait OsStringExt: Sealed {
28
29
#[stable(feature = "rust1", since = "1.0.0")]
30
impl OsStringExt for OsString {
31
+ #[inline]
32
fn from_vec(vec: Vec<u8>) -> OsString {
33
FromInner::from_inner(Buf { inner: vec })
34
}
35
36
fn into_vec(self) -> Vec<u8> {
37
self.into_inner().inner
38
0 commit comments