Skip to content

Commit 16a4783

Browse files
committed
Fix breakage from dyn Trait
1 parent 22eb524 commit 16a4783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ impl Rewrite for ast::TraitRef {
652652
impl Rewrite for ast::Ty {
653653
fn rewrite(&self, context: &RewriteContext, shape: Shape) -> Option<String> {
654654
match self.node {
655-
ast::TyKind::TraitObject(ref bounds) => bounds.rewrite(context, shape),
655+
ast::TyKind::TraitObject(ref bounds, ..) => bounds.rewrite(context, shape),
656656
ast::TyKind::Ptr(ref mt) => {
657657
let prefix = match mt.mutbl {
658658
Mutability::Mutable => "*mut ",

0 commit comments

Comments
 (0)