case_convert 0.1.0

Converts the first letter of a Rust String to uppercase.
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 3.28 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 117.08 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • nicolasbauw/case-convert
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • nicolasbauw

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