Skip to content

Commit

Permalink
[feat] Make sys::windows::os_str::Slice repr(transparent)
Browse files Browse the repository at this point in the history
  • Loading branch information
gimbles committed May 6, 2022
1 parent bea2b2b commit cf8efcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion std/src/sys/windows/os_str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ impl fmt::Display for Buf {
}
}

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

Expand Down

0 comments on commit cf8efcd

Please sign in to comment.