with_trailing_sep

Function with_trailing_sep 

Source
pub fn with_trailing_sep<'a>(path: impl PathLike<'a>) -> Cow<'a, str>
Expand description

Returns the given path with a trailing separator if it does not already have one.