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

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