mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: closures work on arm64 too
This commit is contained in:
parent
6a6c005dc0
commit
35cfa0da7c
@ -2422,7 +2422,7 @@ V supports closures too.
|
||||
This means that anonymous functions can inherit variables from the scope they were created in.
|
||||
They must do so explicitly by listing all variables that are inherited.
|
||||
|
||||
> Warning: currently works on x64 architectures only.
|
||||
> Warning: currently works on x64 and arm64 architectures only.
|
||||
|
||||
```v oksyntax
|
||||
my_int := 1
|
||||
|
@ -33,6 +33,7 @@ const (
|
||||
'\t\t\t\t\t\t\t',
|
||||
'\t\t\t\t\t\t\t\t',
|
||||
'\t\t\t\t\t\t\t\t\t',
|
||||
'\t\t\t\t\t\t\t\t\t\t',
|
||||
]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user