Function fmty::to_ascii_lowercase

source ·
pub fn to_ascii_lowercase<T>(value: T) -> ToAsciiLowercase<T>
Expand description

Converts to ASCII lowercase.

This may be used as a non-allocating alternative to str::to_ascii_lowercase().

Examples

let value = fmty::to_ascii_lowercase("Grüße, Jürgen ❤");
assert_eq!(value.to_string(), "grüße, jürgen ❤");