There was an error while loading. Please reload this page.
dyn Trait
1 parent 22eb524 commit 16a4783Copy full SHA for 16a4783
src/types.rs
@@ -652,7 +652,7 @@ impl Rewrite for ast::TraitRef {
652
impl Rewrite for ast::Ty {
653
fn rewrite(&self, context: &RewriteContext, shape: Shape) -> Option<String> {
654
match self.node {
655
- ast::TyKind::TraitObject(ref bounds) => bounds.rewrite(context, shape),
+ ast::TyKind::TraitObject(ref bounds, ..) => bounds.rewrite(context, shape),
656
ast::TyKind::Ptr(ref mt) => {
657
let prefix = match mt.mutbl {
658
Mutability::Mutable => "*mut ",
0 commit comments