diff options
author | Vika <vika@fireburn.ru> | 2024-09-04 15:07:57 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-09-04 19:51:50 +0300 |
commit | bda6ce2816d1f30468d50cbfeaca9614ad4e0c87 (patch) | |
tree | aa89de004098e554ef9af98e7d87a5d911a3c727 /src/lib.rs | |
parent | f8cc6234da837996f0b18b9a1038491f479a1764 (diff) | |
download | bowl-bda6ce2816d1f30468d50cbfeaca9614ad4e0c87.tar.zst |
Deal with Clippy warnings
1. narrow_layout is indeed unused, `AdwBreakpoint` remembers initial values and restores them on load 2. `TagPillWidgets` is not exactly dead code, I'm adding all the widgets to it to emulate how Relm4 macros do it. Perhaps it'll be used in the future. 3. We currently ignore the libsecret result on clearing the tokens because dealing with libsecret errors is annoying and requires unsafe code due to outdated dependencies.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs index ee92350..7f2a78d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -299,7 +299,7 @@ impl AsyncComponent for App { match message { Input::SignOut => { if self.micropub.take().is_some() { - libsecret::password_clear_future( + let _ = libsecret::password_clear_future( Some(&self.secret_schema), Default::default(), ).await; |