mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
use uniform accessor
This commit is contained in:
parent
046a021013
commit
00ec0c1066
2 changed files with 1 additions and 5 deletions
|
@ -49,10 +49,6 @@ impl ast::IfExpr {
|
|||
}
|
||||
|
||||
impl ast::RefExpr {
|
||||
pub fn is_mut(&self) -> bool {
|
||||
self.syntax().children_with_tokens().any(|n| n.kind() == T![mut])
|
||||
}
|
||||
|
||||
pub fn raw_token(&self) -> Option<SyntaxToken> {
|
||||
None // FIXME: implement &raw
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue