std::path

Constant MAIN_SEPARATOR

1.0.0 ยท Source
pub const MAIN_SEPARATOR: char = crate::sys::path::MAIN_SEP; // '/'
Expand description

The primary separator of path components for the current platform.

For example, / on Unix and \ on Windows.