mirror of
https://github.com/MorizzG/rlox.git
synced 2025-12-06 04:12:42 +00:00
changed Display for Expr::function
This commit is contained in:
parent
f9fe77f1e2
commit
128c2771dc
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ impl Display for Expr {
|
|||
|
||||
write!(
|
||||
f,
|
||||
"(fun [{closure_fmt}] {name} ({}) {body})",
|
||||
"(fun {name} [{closure_fmt}] ({}) {body})",
|
||||
param_names.join(", ")
|
||||
)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue