Skip to content

Commit

Permalink
tweak: Fix accidentally public method
Browse files Browse the repository at this point in the history
  • Loading branch information
dhedey committed Dec 5, 2024
1 parent 51f2d3f commit 6afeec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/string_conversion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl LetterCase {
}
}

pub fn change_case_of_first_letter(value: &str, first_letter_case: LetterCase) -> String {
pub(crate) fn change_case_of_first_letter(value: &str, first_letter_case: LetterCase) -> String {
let mut acc = String::new();
let mut parse_state = StringParseState::Start;
for ch in value.chars() {
Expand Down

0 comments on commit 6afeec5

Please sign in to comment.