diff options
| author | Jeremy Soller <jackpot51@gmail.com> | 2016-11-28 18:19:17 -0700 |
|---|---|---|
| committer | Jeremy Soller <jackpot51@gmail.com> | 2016-11-28 18:19:17 -0700 |
| commit | 2ec21327f25e4646ce64a2e331bb4702cf96dc99 (patch) | |
| tree | 2acb36e4e60168b8da8da54d445a2d9daf96ab09 /src/libstd/sys | |
| parent | 746222fd9d6c16d3dc3c44c797dcc868297c133b (diff) | |
| download | rust-2ec21327f25e4646ce64a2e331bb4702cf96dc99.tar.gz rust-2ec21327f25e4646ce64a2e331bb4702cf96dc99.zip | |
Switch to using Prefix::Verbatim
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/redox/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/redox/path.rs b/src/libstd/sys/redox/path.rs index 4069a0ea726..e609f83bc07 100644 --- a/src/libstd/sys/redox/path.rs +++ b/src/libstd/sys/redox/path.rs @@ -24,7 +24,7 @@ pub fn is_verbatim_sep(b: u8) -> bool { pub fn parse_prefix(path: &OsStr) -> Option<Prefix> { if let Some(path_str) = path.to_str() { if let Some(i) = path_str.find(':') { - Some(Prefix::Scheme(OsStr::new(&path_str[..i]))) + Some(Prefix::Verbatim(OsStr::new(&path_str[..i]))) } else { None } |
