From 63d099e305f435c19e0046f4cbca71ea58e5e21c Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Thu, 7 Jul 2022 10:55:51 +0100 Subject: [PATCH] Fix code comment typo --- lib/src/fnc/util/string/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/fnc/util/string/mod.rs b/lib/src/fnc/util/string/mod.rs index e9a08259..cb48115e 100644 --- a/lib/src/fnc/util/string/mod.rs +++ b/lib/src/fnc/util/string/mod.rs @@ -10,7 +10,7 @@ pub fn slug>(s: S) -> String { let s = s.as_ref(); // Convert unicode to ascii let s = deunicode(s); - // Convert strgin to lowercase + // Convert string to lowercase let s = s.to_ascii_lowercase(); // Replace any non-simple characters let s = SIMPLES.replace_all(s.as_ref(), "-");