Skip to content

Commit

Permalink
Auto merge of #96802 - gimbles:windows_slice, r=thomcc
Browse files Browse the repository at this point in the history
[feat] Make sys::windows::os_str::Slice repr(transparent)

Fixes #96577
  • Loading branch information
bors committed May 9, 2022
2 parents d6ef56b + c0743c4 commit ab19f53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions std/src/sys/windows/os_str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ impl fmt::Display for Buf {
}
}

#[repr(transparent)]
pub struct Slice {
pub inner: Wtf8,
}
Expand Down

0 comments on commit ab19f53

Please sign in to comment.