Macro pathsep::path_separator
source · macro_rules! path_separator {
{} => { ... };
}
Expand description
Returns the path separator of the target system as a string.
On Unices, this is equal to “/”, while on Windows it is “\”.
Examples
#[macro_use] extern crate pathsep;
assert_eq!(path_separator!(), "/");