1
Fork 0

Fix errors

This commit is contained in:
Adolfo Ochagavía 2014-07-04 22:38:13 +02:00
parent c6b82c7566
commit 584fbde5d1
22 changed files with 51 additions and 110 deletions

View file

@ -723,9 +723,9 @@ impl<'a> SourceCollector<'a> {
// Remove the utf-8 BOM if any
let contents = if contents.starts_with("\ufeff") {
contents.as_slice().slice_from(3)
contents.slice_from(3)
} else {
contents.as_slice()
contents
};
// Create the intermediate directories