mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-29 14:30:31 +08:00
lib/bin: Fix clippy warnings
This commit is contained in:
@@ -68,10 +68,8 @@ impl Update<Message> for App {
|
||||
.selector
|
||||
.selected()
|
||||
.and_then(|selected| self.items.get(selected))
|
||||
.and_then(|item| {
|
||||
Some(Exit {
|
||||
value: Some(item.id),
|
||||
})
|
||||
.map(|item| Exit {
|
||||
value: Some(item.id),
|
||||
}),
|
||||
Message::Quit => Some(Exit { value: None }),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user