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:
parent
7c9a512a34
commit
0c3946dd5b
7 changed files with 68 additions and 81 deletions
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue