parse: refactor fun ret ty & param ty
This commit is contained in:
parent
404013e015
commit
34d91709b6
12 changed files with 77 additions and 107 deletions
|
@ -1381,7 +1381,7 @@ impl<'a> Parser<'a> {
|
|||
args
|
||||
}
|
||||
};
|
||||
let output = self.parse_ret_ty(true)?;
|
||||
let output = self.parse_ret_ty(true, true)?;
|
||||
|
||||
Ok(P(FnDecl {
|
||||
inputs: inputs_captures,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue