W3cubDocs

/Rust

Constant std::path::MAIN_SEPARATOR

pub const MAIN_SEPARATOR: char = crate::sys::path::MAIN_SEP; // '/'

The primary separator of path components for the current platform.

For example, / on Unix and \ on Windows.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/path/constant.MAIN_SEPARATOR.html