Fix compilation without gvfs feature

This commit is contained in:
Jeremy Soller 2024-04-22 15:32:19 -06:00
parent 2b1abc7c23
commit d80c358ca5
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
2 changed files with 7 additions and 1 deletions

View file

@ -163,7 +163,6 @@ impl Gvfs {
event_tx.send(Event::Items(items)).unwrap();
}
Cmd::Mount(mounter_item) => {
#[allow(irrefutable_let_patterns)]
let MounterItem::Gvfs(item) = mounter_item else { continue };
let ItemKind::Volume = item.kind else { continue };
for (i, volume) in monitor.volumes().into_iter().enumerate() {