Skip to content
Snippets Groups Projects
Commit f1073d0c authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add leading / to path

parent b526a29e
No related branches found
No related tags found
No related merge requests found
......@@ -355,6 +355,10 @@ impl Scheme for FileScheme {
buf[i] = b':';
i += 1;
}
if i < buf.len() {
buf[i] = b'/';
i += 1;
}
file.path(&mut buf[i..]).map(|count| i + count)
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment