1
0
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:
Alexander Medvednikov 2022-05-07 11:02:53 +03:00
parent 6a6c005dc0
commit 35cfa0da7c
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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',
]
)