From 6afeec52f884cd1f80ca0eb64ffc9794ebf2454a Mon Sep 17 00:00:00 2001 From: David Edey Date: Thu, 5 Dec 2024 14:03:42 +0000 Subject: [PATCH] tweak: Fix accidentally public method --- src/string_conversion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/string_conversion.rs b/src/string_conversion.rs index 42f732b..4c7dbb3 100644 --- a/src/string_conversion.rs +++ b/src/string_conversion.rs @@ -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() {