last

Function last 

Source
pub fn last(path: &str) -> Option<&str>
Expand description

Returns the last component of the path.

If path is a root or empty path, this function returns None.