cargo fmt

This commit is contained in:
Jordan Petridis 2019-10-04 14:51:45 +03:00
parent 6046e62f11
commit a9873da802
No known key found for this signature in database
GPG Key ID: E8523968931763BE
3 changed files with 5 additions and 6 deletions

View File

@ -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));
} }
} }

View File

@ -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(())

View File

@ -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: &gtk::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: &gtk::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");
} }
} }
} }