fixed fences in the docs

This commit is contained in:
sergeych committed 2026-01-04 23:06:36 +01:00
1 parent 5f1e6564d5
commit 75e2b63923
4 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ Tip: If a closure unexpectedly cannot see an outer local, check whether an inter
The `cached` function (defined in `lyng.stdlib`) is a classic example of using closures to maintain state. It wraps a builder into a zero-argument function that computes once and remembers the result:
```kotlin
```lyng
fun cached(builder) {
var calculated = false
var value = null