Remove dead code
This commit is contained in:
@@ -343,7 +343,7 @@ impl ast::TypeBound {
|
||||
.skip_while(|it| it.kind() != T![const])
|
||||
.find(|it| it.kind() == T![?])
|
||||
} else {
|
||||
support::token2(&self.syntax, T![?])
|
||||
support::token(&self.syntax, T![?])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -65,7 +65,7 @@ pub trait TypeBoundsOwner: AstNode {
|
||||
}
|
||||
|
||||
fn colon_token(&self) -> Option<SyntaxToken> {
|
||||
support::token2(self.syntax(), T![:])
|
||||
support::token(self.syntax(), T![:])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user