Closed
Description
The NonCopyable
unit struct is now zero-size via #[unsafe_no_drop_flag]
, so it's the cleanest way to do this.
This could potentially be a lint warning, with a suggestion.
The NonCopyable
unit struct is now zero-size via #[unsafe_no_drop_flag]
, so it's the cleanest way to do this.
This could potentially be a lint warning, with a suggestion.