pub fn as_str_ref<T>(input: &T) -> &strwhere
    T: AsRef<str>,
Expand description

Convert any type implementing AsRef<str> to a &str.