[feat] Make sys::windows::os_str::Slice repr(transparent)
This commit is contained in:
parent
bb1a03c4fc
commit
0a80bb43e5
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,8 @@ impl fmt::Display for Buf {
|
|||
}
|
||||
}
|
||||
|
||||
pub struct Slice {
|
||||
#[repr(transparent)]
|
||||
pub(crate) struct Slice {
|
||||
pub inner: Wtf8,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue