Fix patterns_in_fns_without_body warning on macos

This commit is contained in:
mitchmindtree 2017-01-22 17:55:30 +11:00
parent 9b15440b62
commit 95b7d5326e

View file

@ -62,7 +62,7 @@ impl From<ActivationPolicy> for NSApplicationActivationPolicy {
/// Additional methods on `WindowBuilder` that are specific to MacOS. /// Additional methods on `WindowBuilder` that are specific to MacOS.
pub trait WindowBuilderExt { 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 { impl WindowBuilderExt for WindowBuilder {