From 2ec21327f25e4646ce64a2e331bb4702cf96dc99 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 28 Nov 2016 18:19:17 -0700 Subject: Switch to using Prefix::Verbatim --- src/libstd/sys/redox/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/sys') 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 { 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 } -- cgit 1.4.1-3-g733a5