mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Remove an equals sign from ConstArg
(this probably pertains only to ConstParam)
(As per matklad)
This commit is contained in:
parent
b31475d316
commit
8d4c11625a
2 changed files with 1 additions and 4 deletions
|
@ -2479,7 +2479,6 @@ pub struct ConstArg {
|
|||
}
|
||||
impl ConstArg {
|
||||
pub fn literal(&self) -> Option<Literal> { support::child(&self.syntax) }
|
||||
pub fn eq_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![=]) }
|
||||
pub fn block_expr(&self) -> Option<BlockExpr> { support::child(&self.syntax) }
|
||||
}
|
||||
/// FIXME: (@edwin0cheng) Remove it to use ItemList instead
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue