From 793f65dd07581cfc070b77b9427b95261873d12b Mon Sep 17 00:00:00 2001 From: Jacobtread Date: Tue, 30 Apr 2024 19:25:59 +1200 Subject: [PATCH] fix: spelling mistakes and spell checker whitelists --- .vscode/settings.json | 8 ++++++++ src/hosts.rs | 4 ++-- src/update.rs | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..c62ef4d --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "cSpell.words": [ + "gosredirector", + "redirector", + "reqwest", + "Segoe" + ] +} \ No newline at end of file diff --git a/src/hosts.rs b/src/hosts.rs index 2278ebc..3e7f157 100644 --- a/src/hosts.rs +++ b/src/hosts.rs @@ -57,9 +57,9 @@ impl HostEntryGuard { match Self::apply_entry() { Ok(value) => { if value.existing { - debug!("Host modificaiton already applied"); + debug!("Host modification already applied"); } else { - debug!("Applied host modificaiton"); + debug!("Applied host modification"); } Some(value) } diff --git a/src/update.rs b/src/update.rs index 6e885e2..3d1dfcf 100644 --- a/src/update.rs +++ b/src/update.rs @@ -173,7 +173,7 @@ pub async fn update(http_client: reqwest::Client) { } show_info( - "Update successfull", + "Update successful", "The client has been updated, restart the client now to use the new version", );