Skip to content

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.

chore: Fix clippy

Amaury M0dec94bdaeaa
diff --git a/backend/src/routes/bulk/results.rs b/backend/src/routes/bulk/results.rs
index 7f372fef..815918e5 100644
--- a/backend/src/routes/bulk/results.rs
+++ b/backend/src/routes/bulk/results.rs
@@ -140,7 +140,7 @@ impl TryFrom<CsvWrapper> for JobResultCsvResponse {
val.as_bool().ok_or("is_role_account should be a boolean")?
}
"gravatar_url" => {
- if val.as_str() != None {
+ if Option::is_some(&val.as_str()) {
misc_gravatar_url = Some(val.to_string())
}
}