Skip to content

Commit

Permalink
fix for the "\src\lib.rs:997:5: 1005:6 error: the trait `core::marker…
Browse files Browse the repository at this point in the history
…::Sized` is not implemented for the type `[collections::string::String]` [E0277]"
  • Loading branch information
jaxx committed May 4, 2015
1 parent d87d949 commit be50b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -994,7 +994,7 @@ fn file_url_path_to_pathbuf(path: &[String]) -> Result<PathBuf, ()> {
return Err(())
}
let mut string = prefix.to_string();
for path_part in path[1..] {
for path_part in path.iter().skip(1) {
string.push('\\');

// Currently non-unicode windows paths cannot be represented
Expand Down

0 comments on commit be50b34

Please sign in to comment.