From 0937fce246bb858f99e566549224c48b65a1fe99 Mon Sep 17 00:00:00 2001 From: brightly-salty Date: Sat, 19 Dec 2020 10:57:38 -0600 Subject: [PATCH] Update mod.rs Allowing because following clippy's suggestion results in an error in Rust 1.41.0 (was an unstable feature then) --- src/window/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window/mod.rs b/src/window/mod.rs index 22ad23dd7..db81ed735 100644 --- a/src/window/mod.rs +++ b/src/window/mod.rs @@ -169,6 +169,7 @@ impl Window { /// /// Providing non `None` value for `theme_manager` should prevent theming pointer /// over the `surface`. + #[allow(clippy::match_like_matches_macro)] fn init_with_decorations( env: &crate::environment::Environment, surface: wl_surface::WlSurface,