Closed Boddlnagg closed 5 years ago
When this feature is implemented and stabilized in rustc, we can (and should) use #[repr(transparent)] on various types, such as ComPtr and the various HSTRING wrappers.
#[repr(transparent)]
ComPtr
HSTRING
Also Char (or alternatively change Char to be only a type alias).
Char
This is now stable and we should use it.
When this feature is implemented and stabilized in rustc, we can (and should) use
#[repr(transparent)]
on various types, such asComPtr
and the variousHSTRING
wrappers.