Skip to content

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

chore: Fix spelling errors in comments (#1602)

Amauryae9042dab24a
diff --git a/core/src/misc/mod.rs b/core/src/misc/mod.rs
index dad41abd..7c855173 100644
--- a/core/src/misc/mod.rs
+++ b/core/src/misc/mod.rs
@@ -39,7 +39,7 @@ fn load_str_as_hashset(file_content: &str) -> HashSet<String> {
.collect()
}
-/// Miscelleanous details about the email address.
+/// Miscellaneous details about the email address.
#[derive(Debug, Default, Deserialize, Serialize)]
pub struct MiscDetails {
/// Is this a DEA (disposable email account)?
@@ -55,7 +55,7 @@ pub struct MiscDetails {
pub haveibeenpwned: Option<bool>,
}
-/// Error occured connecting to this email server via SMTP. Right now this
+/// Error occurred connecting to this email server via SMTP. Right now this
/// enum has no variant, as `check_misc` cannot fail. But putting a placeholder
/// right now to avoid future breaking changes.
#[derive(Debug, Error, Serialize)]
diff --git a/core/src/smtp/error.rs b/core/src/smtp/error.rs
index 1d4631f2..4d9ab926 100644
--- a/core/src/smtp/error.rs
+++ b/core/src/smtp/error.rs
@@ -25,7 +25,7 @@ use serde::Serialize;
use std::time::Duration;
use thiserror::Error;
-/// Error occured connecting to this email server via SMTP.
+/// Error occurred connecting to this email server via SMTP.
#[derive(Debug, Error, Serialize)]
#[serde(tag = "type", content = "message")]
pub enum SmtpError {