mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 21:17:39 +00:00
20 lines
314 B
Rust
20 lines
314 B
Rust
![]() |
use crate::path::Prefix;
|
||
|
use crate::ffi::OsStr;
|
||
|
|
||
|
#[inline]
|
||
|
pub fn is_sep_byte(b: u8) -> bool {
|
||
|
b == b'/'
|
||
|
}
|
||
|
|
||
|
#[inline]
|
||
|
pub fn is_verbatim_sep(b: u8) -> bool {
|
||
|
b == b'/'
|
||
|
}
|
||
|
|
||
|
pub fn parse_prefix(_: &OsStr) -> Option<Prefix<'_>> {
|
||
|
None
|
||
|
}
|
||
|
|
||
|
pub const MAIN_SEP_STR: &str = "/";
|
||
|
pub const MAIN_SEP: char = '/';
|