Fix two minor lints

imap-connection-changes
Manos Pitsidianakis 1 year ago
parent 1a4384db08
commit 61a009c01a
No known key found for this signature in database
GPG Key ID: 7729C7707F7E09D0

@ -362,6 +362,7 @@ impl FileSettings {
}
#[cfg(test)]
return Ok(FileSettings::default());
#[cfg(not(test))]
return Err(Error::new("No configuration file found."));
}

@ -244,7 +244,7 @@ impl Component for EmbedContainer {
match embed_guard.is_active() {
Ok(WaitStatus::Exited(_, exit_code)) => {
drop(embed_guard);
let embed = self.embed.take();
_ = self.embed.take();
if exit_code != 0 {
context.replies.push_back(UIEvent::Notification(
None,

Loading…
Cancel
Save