Skip to content

Commit db5b365

Browse files
committed
Auto merge of #96802 - gimbles:windows_slice, r=thomcc
[feat] Make sys::windows::os_str::Slice repr(transparent) Fixes #96577
2 parents a571179 + 3b5fe26 commit db5b365

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/std/src/sys/windows/os_str.rs

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ impl fmt::Display for Buf {
4444
}
4545
}
4646

47+
#[repr(transparent)]
4748
pub struct Slice {
4849
pub inner: Wtf8,
4950
}

0 commit comments

Comments
 (0)