Remove non-ASCII chars from canvas dependency

Trying to fix an assertion on Windows in recent nightlies, blindy.
This commit is contained in:
Anthony Ramine 2016-10-09 18:53:06 +02:00
parent 70dbfd28fa
commit b5a04a67fb
2 changed files with 9 additions and 9 deletions

View file

@ -791,9 +791,9 @@ pub fn from_cmdline_args(args: &[String]) -> ArgumentParsingResult {
let url = Url::from_file_path(&path).unwrap();
let mut contents = Vec::new();
File::open(path)
.unwrap_or_else(|err| args_fail(&format!("Couldnt open {}: {}", filename, err)))
.unwrap_or_else(|err| args_fail(&format!("Couldn't open {}: {}", filename, err)))
.read_to_end(&mut contents)
.unwrap_or_else(|err| args_fail(&format!("Couldnt read {}: {}", filename, err)));
.unwrap_or_else(|err| args_fail(&format!("Couldn't read {}: {}", filename, err)));
(contents, url)
}).collect();