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

fix fmt+lint

This commit is contained in:
Felix Buehler 2020-05-29 18:55:00 +02:00
parent 7c9a512a34
commit 0c3946dd5b
7 changed files with 68 additions and 81 deletions

View file

@ -1,7 +1,6 @@
use crate::error::{ScraperError, ScraperErrorKind};
use chrono::{DateTime, Utc};
use failure::ResultExt;
use std;
use std::io::Write;
use std::path::PathBuf;
use url::Url;
@ -32,6 +31,6 @@ impl Article {
}
}
Err(ScraperErrorKind::Unknown)?
Err(ScraperErrorKind::Unknown.into())
}
}