cargo fmt
This commit is contained in:
parent
6046e62f11
commit
a9873da802
@ -96,5 +96,4 @@ mod tests {
|
|||||||
let item = Some(&extension);
|
let item = Some(&extension);
|
||||||
assert_eq!(parse_itunes_duration(item), Some(6970));
|
assert_eq!(parse_itunes_duration(item), Some(6970));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -100,11 +100,11 @@ impl ShowStack {
|
|||||||
if is_episodes_populated(&ign)? {
|
if is_episodes_populated(&ign)? {
|
||||||
self.sender
|
self.sender
|
||||||
.send(Action::PopulatedState)
|
.send(Action::PopulatedState)
|
||||||
.expect("Action channel blew up somehow");;
|
.expect("Action channel blew up somehow");
|
||||||
} else {
|
} else {
|
||||||
self.sender
|
self.sender
|
||||||
.send(Action::EmptyState)
|
.send(Action::EmptyState)
|
||||||
.expect("Action channel blew up somehow");;
|
.expect("Action channel blew up somehow");
|
||||||
};
|
};
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|||||||
@ -251,7 +251,7 @@ where
|
|||||||
|
|
||||||
up_sender
|
up_sender
|
||||||
.send(true)
|
.send(true)
|
||||||
.expect("Channel was dropped unexpectedly");;
|
.expect("Channel was dropped unexpectedly");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -430,7 +430,7 @@ pub(crate) fn on_import_clicked(window: >k::ApplicationWindow, sender: &Sender
|
|||||||
let text = i18n("Selected file could not be accessed.");
|
let text = i18n("Selected file could not be accessed.");
|
||||||
sender
|
sender
|
||||||
.send(Action::ErrorNotification(text))
|
.send(Action::ErrorNotification(text))
|
||||||
.expect("Action channel blew up somehow");;
|
.expect("Action channel blew up somehow");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -474,7 +474,7 @@ pub(crate) fn on_export_clicked(window: >k::ApplicationWindow, sender: &Sender
|
|||||||
let text = i18n("Selected file could not be accessed.");
|
let text = i18n("Selected file could not be accessed.");
|
||||||
sender
|
sender
|
||||||
.send(Action::ErrorNotification(text))
|
.send(Action::ErrorNotification(text))
|
||||||
.expect("Action channel blew up somehow");;
|
.expect("Action channel blew up somehow");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user