Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit 3f7b012

Browse files
committed
Fix clippy warning in server deletion
1 parent 5e14430 commit 3f7b012

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ impl App {
10381038
.config
10391039
.mqtt
10401040
.servers
1041-
.get(0)
1041+
.first()
10421042
.map(|s| s.name.clone())
10431043
.unwrap_or_default();
10441044
}

0 commit comments

Comments
 (0)