mirror of
https://github.com/rust-unofficial/awesome-rust.git
synced 2024-11-20 11:36:11 -05:00
Don't remove last_working if a link fails
This commit is contained in:
parent
ec0f4a9949
commit
d4b44fd6d5
1 changed files with 0 additions and 1 deletions
|
@ -316,7 +316,6 @@ async fn main() -> Result<(), Error> {
|
|||
if let Some(link) = results.get_mut(&url) {
|
||||
link.updated_at = Local::now();
|
||||
link.working = Working::No(message);
|
||||
link.last_working = None;
|
||||
} else {
|
||||
results.insert(url.clone(), Link {
|
||||
updated_at: Local::now(),
|
||||
|
|
Loading…
Reference in a new issue