Handle breakage after libcore split

API Changes:

- &[T] and ~[T] no longer support the addition operator (+)
This commit is contained in:
Kevin Ballard
2014-05-07 21:53:11 -07:00
parent 300d865fa4
commit 9fb8741b2e
23 changed files with 75 additions and 70 deletions

View File

@@ -549,7 +549,8 @@ impl<'a> SourceCollector<'a> {
root_path.push_str("../");
});
cur.push(p.filename().expect("source has no filename") + bytes!(".html"));
cur.push(Vec::from_slice(p.filename().expect("source has no filename"))
.append(bytes!(".html")));
let mut w = BufferedWriter::new(try!(File::create(&cur)));
let title = format!("{} -- source", cur.filename_display());