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.
2 parents 5054390 + 16a4783 commit 0950502Copy full SHA for 0950502
src/types.rs
@@ -622,7 +622,7 @@ impl Rewrite for ast::TraitRef {
622
impl Rewrite for ast::Ty {
623
fn rewrite(&self, context: &RewriteContext, shape: Shape) -> Option<String> {
624
match self.node {
625
- ast::TyKind::TraitObject(ref bounds) => bounds.rewrite(context, shape),
+ ast::TyKind::TraitObject(ref bounds, ..) => bounds.rewrite(context, shape),
626
ast::TyKind::Ptr(ref mt) => {
627
let prefix = match mt.mutbl {
628
Mutability::Mutable => "*mut ",
0 commit comments