mirror of
https://github.com/rust-unofficial/awesome-rust.git
synced 2025-02-10 15:45:57 -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) {
|
if let Some(link) = results.get_mut(&url) {
|
||||||
link.updated_at = Local::now();
|
link.updated_at = Local::now();
|
||||||
link.working = Working::No(message);
|
link.working = Working::No(message);
|
||||||
link.last_working = None;
|
|
||||||
} else {
|
} else {
|
||||||
results.insert(url.clone(), Link {
|
results.insert(url.clone(), Link {
|
||||||
updated_at: Local::now(),
|
updated_at: Local::now(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue