cargo fmt

This commit is contained in:
Jordan Petridis 2020-06-21 18:38:29 +03:00
parent 7b3a607b5e
commit b754182e0d
No known key found for this signature in database
GPG Key ID: E8523968931763BE
2 changed files with 8 additions and 2 deletions

View File

@ -84,7 +84,10 @@ pub enum DataError {
FeedRedirect(Source),
#[fail(display = "Feed is up to date")]
FeedNotModified(Source),
#[fail(display = "Error occurred while Parsing an Episode. Reason: {}", reason)]
#[fail(
display = "Error occurred while Parsing an Episode. Reason: {}",
reason
)]
ParseEpisodeError { reason: String, parent_id: i32 },
#[fail(display = "Episode was not changed and thus skipped.")]
EpisodeNotChanged,

View File

@ -216,7 +216,10 @@ impl Source {
self = self.save()?;
debug!("Updated Source: {:#?}", &self);
info!("Feed url of Source {}, was updated successfully.", self.id());
info!(
"Feed url of Source {}, was updated successfully.",
self.id()
);
}
Ok(self)