mirror of
https://github.com/AleoHQ/leo.git
synced 2024-09-21 20:18:09 +03:00
remove unused code
This commit is contained in:
parent
f7b5e213e6
commit
2cd1ec82ba
@ -283,18 +283,6 @@ impl ParserContext<'_> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns a [`FunctionInput`] AST node if the next tokens represent a function parameter.
|
||||
fn parse_function_input(&mut self) -> Result<FunctionInput> {
|
||||
let mode = self.parse_mode()?;
|
||||
let (name, type_) = self.parse_typed_ident()?;
|
||||
Ok(FunctionInput {
|
||||
identifier: name,
|
||||
mode,
|
||||
type_,
|
||||
span: name.span,
|
||||
})
|
||||
}
|
||||
|
||||
/// Returns a [`Input`] AST node if the next tokens represent a function output.
|
||||
fn parse_input(&mut self) -> Result<functions::Input> {
|
||||
let mode = self.parse_mode()?;
|
||||
|
Loading…
Reference in New Issue
Block a user