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

Commit 4a4f0e3

Browse files
bilelmoussaouisdroege
authored andcommitted
Fix clippy warnings
1 parent 1f00280 commit 4a4f0e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/dialog_async/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ async fn dialog<W: IsA<gtk::Window>>(window: W) {
5050
.modal(true)
5151
.buttons(gtk::ButtonsType::Close)
5252
.text("You answered")
53-
.secondary_text(&format!("Your answer: {answer:?}"))
53+
.secondary_text(format!("Your answer: {answer:?}"))
5454
.build();
5555

5656
info_dialog.run_future().await;

gtk/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#![allow(clippy::wrong_self_convention)]
66
#![doc = include_str!("../README.md")]
77
#![allow(clippy::type_complexity)]
8-
#![allow(clippy::derive_hash_xor_eq)]
8+
#![allow(clippy::derived_hash_with_manual_eq)]
99
#![allow(clippy::too_many_arguments)]
1010
#![allow(clippy::missing_safety_doc)]
1111
#![allow(clippy::new_without_default)]

0 commit comments

Comments
 (0)