mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-06 12:51:03 +02:00
style: fix 1.67 clippy warnings
This commit is contained in:
parent
90cd078973
commit
eb30105fc2
6 changed files with 19 additions and 24 deletions
|
@ -58,7 +58,7 @@ impl GlobalHandler<ZwlrForeignToplevelManagerV1> for ToplevelHandler {
|
|||
if inner.registry.is_none() {
|
||||
inner.registry = Some(registry);
|
||||
}
|
||||
if let LazyGlobal::Unknown = inner.manager {
|
||||
if matches!(inner.manager, LazyGlobal::Unknown) {
|
||||
inner.manager = LazyGlobal::Seen { id, version }
|
||||
} else {
|
||||
warn!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue