We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a44315 commit 591c134Copy full SHA for 591c134
src/libstd/path.rs
@@ -247,7 +247,9 @@ pub fn is_separator(c: char) -> bool {
247
c.is_ascii() && is_sep_byte(c as u8)
248
}
249
250
-/// The primary separator for the current platform
+/// The primary separator of path components for the current platform.
251
+///
252
+/// For example, `/` on Unix and `\` on Windows.
253
#[stable(feature = "rust1", since = "1.0.0")]
254
pub const MAIN_SEPARATOR: char = ::sys::path::MAIN_SEP;
255
0 commit comments