gdkx11: fix clippy warnings
// Copyright 2013-2020, The Gtk-rs Project Developers.
// See the COPYRIGHT file at the top-level directory of this distribution.
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
-
-#![allow(deprecated)]
-#![cfg_attr(feature = "cargo-clippy", allow(type_complexity))]
#![cfg_attr(feature = "dox", feature(doc_cfg))]
+#![allow(deprecated)]
+#![allow(clippy::type_complexity)]
#[macro_use]
extern crate glib;
@@ -27,6 +26,7 @@ pub(crate) use x11::xlib;
#[macro_use]
mod rt;
+#[allow(clippy::let_and_return)]
#[allow(unused_imports)]
mod auto;
