mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
fix typo
This commit is contained in:
parent
7af2bb343c
commit
09fbd4a505
1 changed files with 1 additions and 1 deletions
|
@ -1189,7 +1189,7 @@ fn canonicalize_pending_body<'a>(
|
|||
|
||||
opt_loc_annotation: Option<Loc<crate::annotation::Annotation>>,
|
||||
) -> DefOutput {
|
||||
// We treat closure definitions `foo = \a, b -> ...` differntly from other body expressions,
|
||||
// We treat closure definitions `foo = \a, b -> ...` differently from other body expressions,
|
||||
// because they need more bookkeeping (for tail calls, closure captures, etc.)
|
||||
//
|
||||
// Only defs of the form `foo = ...` can be closure declarations or self tail calls.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue