doc: closures work on arm64 too
parent
1e83e10119
commit
6613391ed0
|
@ -2422,7 +2422,7 @@ V supports closures too.
|
||||||
This means that anonymous functions can inherit variables from the scope they were created in.
|
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.
|
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
|
```v oksyntax
|
||||||
my_int := 1
|
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\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