Skip to content

Commit 3e0efe4

Browse files
committed
Attempt to fix Mingw build
1 parent 09d15e9 commit 3e0efe4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/libstd/ffi/os_str.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,14 +1163,14 @@ impl AsRef<OsStr> for String {
11631163
}
11641164
}
11651165

1166-
impl<A: AllocRef> FromInner<Buf<A>> for OsString<A> {
1167-
fn from_inner(buf: Buf<A>) -> OsString<A> {
1168-
Self { inner: buf }
1166+
impl FromInner<Buf> for OsString {
1167+
fn from_inner(buf: Buf) -> OsString {
1168+
OsString { inner: buf }
11691169
}
11701170
}
11711171

1172-
impl<A: AllocRef> IntoInner<Buf<A>> for OsString<A> {
1173-
fn into_inner(self) -> Buf<A> {
1172+
impl IntoInner<Buf> for OsString {
1173+
fn into_inner(self) -> Buf {
11741174
self.inner
11751175
}
11761176
}

0 commit comments

Comments
 (0)