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

Update for new rust

parent ff17fed1
No related branches found
No related tags found
No related merge requests found
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "cfg-if"
version = "0.1.7"
......
......@@ -88,7 +88,7 @@ fn disk_paths(paths: &mut Vec<String>) {
Ok(entries) => for entry_res in entries {
if let Ok(entry) = entry_res {
if let Ok(path) = entry.path().into_os_string().into_string() {
let scheme = path.trim_left_matches(':').trim_matches('/');
let scheme = path.trim_start_matches(':').trim_matches('/');
if scheme.starts_with("disk") {
println!("redoxfs: found scheme {}", scheme);
schemes.push(format!("{}:", scheme));
......
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