fix rustdoc
This commit is contained in:
parent
36a3ebde96
commit
260f17eafd
4 changed files with 60 additions and 57 deletions
|
@ -184,7 +184,7 @@ crate fn build_deref_target_impls(cx: &mut DocContext<'_>, items: &[Item], ret:
|
|||
|
||||
if let Some(prim) = target.primitive_type() {
|
||||
let _prof_timer = cx.tcx.sess.prof.generic_activity("build_primitive_inherent_impls");
|
||||
for &did in prim.impls(tcx).iter().filter(|did| !did.is_local()) {
|
||||
for did in prim.impls(tcx).filter(|did| !did.is_local()) {
|
||||
inline::build_impl(cx, None, did, None, ret);
|
||||
}
|
||||
} else if let Type::Path { path } = target {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue