Fix breakage from dyn Trait
This commit is contained in:
parent
22eb5241c0
commit
16a478368c
1 changed files with 1 additions and 1 deletions
|
@ -652,7 +652,7 @@ impl Rewrite for ast::TraitRef {
|
|||
impl Rewrite for ast::Ty {
|
||||
fn rewrite(&self, context: &RewriteContext, shape: Shape) -> Option<String> {
|
||||
match self.node {
|
||||
ast::TyKind::TraitObject(ref bounds) => bounds.rewrite(context, shape),
|
||||
ast::TyKind::TraitObject(ref bounds, ..) => bounds.rewrite(context, shape),
|
||||
ast::TyKind::Ptr(ref mt) => {
|
||||
let prefix = match mt.mutbl {
|
||||
Mutability::Mutable => "*mut ",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue