1
Fork 0

Clarify rustdoc output licensing with a copyright file

This commit is contained in:
Ruud van Asseldonk 2015-09-21 22:40:27 +01:00
parent 67380065d9
commit 6c566524b6
2 changed files with 66 additions and 0 deletions

View file

@ -591,6 +591,8 @@ fn write_shared(cx: &Context,
include_bytes!("static/LICENSE-MIT.txt")));
try!(write(cx.dst.join("LICENSE-APACHE.txt"),
include_bytes!("static/LICENSE-APACHE.txt")));
try!(write(cx.dst.join("COPYRIGHT.txt"),
include_bytes!("static/COPYRIGHT.txt")));
fn collect(path: &Path, krate: &str,
key: &str) -> io::Result<Vec<String>> {