rustdoc: Fix json output and input
Turns out a hash map with integer keys isn't serializable to json. Closes #10115
This commit is contained in:
@@ -305,7 +305,7 @@ pub fn run(mut krate: clean::Crate, dst: Path) -> io::IoResult<()> {
|
||||
krate = folder.fold_crate(krate);
|
||||
}
|
||||
|
||||
for (&n, e) in krate.externs.iter() {
|
||||
for &(n, ref e) in krate.externs.iter() {
|
||||
cache.extern_locations.insert(n, extern_location(e, &cx.dst));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user