Rollup merge of #33509 - birkenfeld:issue-30219, r=alexcrichton
rustdoc: fix emitting duplicate implementors in .js files The collect() fn checks for double quotes; use them here as well. Fixes: #30219
This commit is contained in:
commit
fb382df1f8
@ -783,7 +783,7 @@ fn write_shared(cx: &Context,
|
||||
try_err!(write!(&mut f, "{}", *implementor), &mydst);
|
||||
}
|
||||
|
||||
try_err!(write!(&mut f, r"implementors['{}'] = [", krate.name), &mydst);
|
||||
try_err!(write!(&mut f, r#"implementors["{}"] = ["#, krate.name), &mydst);
|
||||
for imp in imps {
|
||||
// If the trait and implementation are in the same crate, then
|
||||
// there's no need to emit information about it (there's inlining
|
||||
|
Loading…
Reference in New Issue
Block a user