| Crates.io | case_convert |
| lib.rs | case_convert |
| version | 0.1.0 |
| created_at | 2024-01-13 16:28:25.377324+00 |
| updated_at | 2024-01-13 16:28:25.377324+00 |
| description | Converts the first letter of a Rust String to uppercase. |
| homepage | |
| repository | https://github.com/nicolasbauw/case-convert |
| max_upload_size | |
| id | 1098670 |
| size | 3,607 |
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