diff --git a/src/os/macos.rs b/src/os/macos.rs index d77c64f4..85d2d88d 100755 --- a/src/os/macos.rs +++ b/src/os/macos.rs @@ -62,7 +62,7 @@ impl From 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 {