Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 3ddea93

Browse files
gdkx11: fix clippy warnings
1 parent 0e6179b commit 3ddea93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gdkx11/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
#![allow(deprecated)]
6-
#![cfg_attr(feature = "cargo-clippy", allow(type_complexity))]
6+
#![allow(clippy::type_complexity)]
77

88
#[macro_use]
99
extern crate glib;
@@ -24,6 +24,7 @@ pub(crate) use x11::xlib;
2424

2525
#[macro_use]
2626
mod rt;
27+
#[allow(clippy::let_and_return)]
2728
#[allow(unused_imports)]
2829
mod auto;
2930

0 commit comments

Comments
 (0)