1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-08 16:40:00 +02:00

get rid of 'extern crate'

This commit is contained in:
Jan Lukas Gernert 2018-12-07 02:26:46 +01:00
parent b679f2e1fa
commit aa26e099df
6 changed files with 41 additions and 38 deletions

View file

@ -27,7 +27,7 @@ pub enum ScraperErrorKind {
}
impl Fail for ScraperError {
fn cause(&self) -> Option<&Fail> {
fn cause(&self) -> Option<&dyn Fail> {
self.inner.cause()
}
@ -37,7 +37,7 @@ impl Fail for ScraperError {
}
impl fmt::Display for ScraperError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
fmt::Display::fmt(&self.inner, f)
}
}