]> git.lizzy.rs Git - rust.git/blob - library/std/src/sys/unix/path.rs
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
[rust.git] / library / std / src / sys / unix / path.rs
1 use crate::ffi::OsStr;
2 use crate::path::Prefix;
3
4 #[inline]
5 pub fn is_sep_byte(b: u8) -> bool {
6     b == b'/'
7 }
8
9 #[inline]
10 pub fn is_verbatim_sep(b: u8) -> bool {
11     b == b'/'
12 }
13
14 #[inline]
15 pub fn parse_prefix(_: &OsStr) -> Option<Prefix<'_>> {
16     None
17 }
18
19 pub const MAIN_SEP_STR: &str = "/";
20 pub const MAIN_SEP: char = '/';