mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
parent
cfc50ff160
commit
2a8c9100bf
8 changed files with 113 additions and 6 deletions
|
@ -1426,6 +1426,9 @@ impl LambdaExpr {
|
|||
pub fn param_list(&self) -> Option<ParamList> {
|
||||
AstChildren::new(&self.syntax).next()
|
||||
}
|
||||
pub fn ret_type(&self) -> Option<RetType> {
|
||||
AstChildren::new(&self.syntax).next()
|
||||
}
|
||||
pub fn body(&self) -> Option<Expr> {
|
||||
AstChildren::new(&self.syntax).next()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue