We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bd4475 commit 7a6eaeaCopy full SHA for 7a6eaea
src/librustdoc/clean/mod.rs
@@ -462,6 +462,7 @@ impl Clean<TyParam> for ty::TypeParameterDef {
462
fn clean(&self, cx: &DocContext) -> TyParam {
463
cx.external_typarams.borrow_mut().as_mut().unwrap()
464
.insert(self.def_id, self.ident.clean(cx));
465
+
466
TyParam {
467
name: self.ident.clean(cx),
468
did: self.def_id,
@@ -581,6 +582,9 @@ impl Clean<Vec<TyParamBound>> for ty::ParamBounds {
581
582
for t in self.trait_bounds.iter() {
583
v.push(t.clean(cx));
584
}
585
+ for r in self.region_bounds.iter().filter_map(|r| r.clean(cx)) {
586
+ v.push(RegionBound(r));
587
+ }
588
return v;
589
590
0 commit comments