1
Fork 0

Fix more “a”/“an” typos

This commit is contained in:
Frank Steffahn 2021-08-22 17:27:18 +02:00
parent b08b92eb42
commit 2396fad095
18 changed files with 20 additions and 20 deletions

View file

@ -118,7 +118,7 @@ fn to_camel_case(s: &str) -> String {
})
.fold((String::new(), None), |(acc, prev): (String, Option<String>), next| {
// separate two components with an underscore if their boundary cannot
// be distinguished using a uppercase/lowercase case distinction
// be distinguished using an uppercase/lowercase case distinction
let join = if let Some(prev) = prev {
let l = prev.chars().last().unwrap();
let f = next.chars().next().unwrap();