mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Fix patterns_in_fns_without_body warning on macos
This commit is contained in:
parent
9b15440b62
commit
95b7d5326e
|
@ -62,7 +62,7 @@ impl From<ActivationPolicy> for NSApplicationActivationPolicy {
|
|||
|
||||
/// Additional methods on `WindowBuilder` that are specific to MacOS.
|
||||
pub trait WindowBuilderExt {
|
||||
fn with_activation_policy(mut self, activation_policy: ActivationPolicy) -> WindowBuilder;
|
||||
fn with_activation_policy(self, activation_policy: ActivationPolicy) -> WindowBuilder;
|
||||
}
|
||||
|
||||
impl WindowBuilderExt for WindowBuilder {
|
||||
|
|
Loading…
Reference in a new issue