fixed bug found by flangyver

This commit is contained in:
epi
2020-11-11 06:59:50 -06:00
parent 5e7be449d0
commit d63d7dc078

View File

@@ -130,7 +130,6 @@ fn add_url_to_list_of_scanned_urls(resp: &str, scanned_urls: &RwLock<HashSet<Str
match scanned_urls.write() {
// check new url against what's already been scanned
Ok(mut urls) => {
// If the set did not contain resp, true is returned.
// If the set did contain resp, false is returned.
let response = urls.insert(resp.to_string());