spelling and clippy

This commit is contained in:
Rushmore75 2025-03-18 15:08:29 -06:00
parent 3b4e6a40ce
commit f2a3e836a0

View File

@ -98,7 +98,7 @@ impl Website {
.await
.expect("Failed to check surreal for duplicates!");
if let Some(old) = response.take::<Option<Website>>(0).expect("Failed to read reponse from surreal for duplicates.") {
if let Some(old) = response.take::<Option<Website>>(0).expect("Failed to read response from surreal for duplicates.") {
// site exists already
if let Some(id) = old.id {
// make sure to preserve the "crawled status"
@ -119,7 +119,7 @@ impl Website {
match error {
Db::QueryCancelled => todo!(),
Db::QueryNotExecuted => todo!(),
Db::QueryNotExecutedDetail { message } => todo!(),
Db::QueryNotExecutedDetail { message: _ } => todo!(),
_=>{},
}
},