mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 03:04:13 +03:00
Update function_input.rs
This commit is contained in:
parent
81e758466d
commit
df8ecfc299
@ -44,7 +44,7 @@ impl<'ast> From<GrammarFunctionInput<'ast>> for FunctionInputVariable {
|
||||
impl FunctionInputVariable {
|
||||
fn format(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
// mut var: bool
|
||||
if self.mutable {
|
||||
if self.const_ {
|
||||
write!(f, "const ")?;
|
||||
}
|
||||
if self.mutable {
|
||||
|
Loading…
Reference in New Issue
Block a user