Skip to main content

basename

Function basename 

Source
pub fn basename(path: &str) -> &str
Expand description

Last component of a path (/ for the root).