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:
parent
6db37bb147
commit
68d576fd34
5 changed files with 34 additions and 6 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue