Register new snapshots

This commit is contained in:
Alex Crichton
2014-12-09 14:08:10 -08:00
parent b25e100173
commit 52edb2ecc9
34 changed files with 8002 additions and 7220 deletions

View File

@@ -748,7 +748,7 @@ impl<'a> SourceCollector<'a> {
let contents = str::from_utf8(contents.as_slice()).unwrap();
// Remove the utf-8 BOM if any
let contents = if contents.starts_with("\ufeff") {
let contents = if contents.starts_with("\u{feff}") {
contents.slice_from(3)
} else {
contents