Make leet command case-insensitive
This commit is contained in:
parent
287d2657f3
commit
3bbf39000b
|
@ -44,7 +44,7 @@ fn leetify(input: &str) -> ArrayString<512> {
|
|||
let mut builder = ArrayString::<512>::new();
|
||||
|
||||
for ch in input.chars() {
|
||||
builder.push(match ch {
|
||||
builder.push(match ch.to_ascii_lowercase() {
|
||||
'a' => '4',
|
||||
'e' => '3',
|
||||
'i' => '1',
|
||||
|
|
Loading…
Reference in a new issue