From 95b7d5326ee56319800123742556a7f9742a7cea Mon Sep 17 00:00:00 2001 From: mitchmindtree Date: Sun, 22 Jan 2017 17:55:30 +1100 Subject: [PATCH] Fix patterns_in_fns_without_body warning on macos --- src/os/macos.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {