Fix code comment typo
This commit is contained in:
parent
3417d152e0
commit
63d099e305
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ pub fn slug<S: AsRef<str>>(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(), "-");
|
||||
|
|
Loading…
Reference in a new issue