1 unstable release
0.1.0 | Jan 13, 2024 |
---|
#260 in #conversion
31 downloads per month
Used in world-time-api
3KB
This library implements case conversion methods for the String type.
For now there is only one method to convert the first letter of a Rust String to uppercase.
Credit : this method's code comes from this post
use case_convert::CaseConvert;
let s = String::from("test");
assert_eq!(s.uppercase_first(), "Test");
0.1.0 : Converts to uppercase the first letter of a string