Skip to content

Commit

Permalink
🐛 Proper lowercasing
Browse files Browse the repository at this point in the history
  • Loading branch information
Thaza-Kun committed Apr 4, 2024
1 parent 9ea9054 commit f51ddfc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions wasm-rs/src/imbuhan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,7 @@ impl Imbuhan {
a.get("").unwrap_or(default).clone()
};
let tail = text[offset..].to_string();
format!(
"{}{}{}",
awal.clone().to_lowercase(),
inbetween.to_lowercase(),
tail.to_lowercase()
)
format!("{}{}{}", awal.clone(), inbetween, tail)
} else {
String::new()
}
Expand Down Expand Up @@ -122,6 +117,7 @@ impl Imbuhan {
},
None => head,
}
.to_lowercase()
}
}

Expand Down

0 comments on commit f51ddfc

Please sign in to comment.