case_convert

Crates.iocase_convert
lib.rscase_convert
version0.1.0
sourcesrc
created_at2024-01-13 16:28:25.377324
updated_at2024-01-13 16:28:25.377324
descriptionConverts the first letter of a Rust String to uppercase.
homepage
repositoryhttps://github.com/nicolasbauw/case-convert
max_upload_size
id1098670
size3,607
Nicolas BAUW (nicolasbauw)

documentation

README

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

Commit count: 0

cargo fmt