Fix documentation on disabler behaviour with short circuiting.

This commit is contained in:
Jussi Pakkanen 2017-12-11 22:16:35 +02:00
parent 448710ba96
commit 04d5d017c5
2 changed files with 3 additions and 2 deletions

View File

@ -45,7 +45,8 @@ object then
```meson
d2 = some_func(d) # value of d2 will be disabler
d3 = true or d2 # value of d3 will be disabler
d3 = true or d2 # value of d3 will be true because of short-circuiting
d4 = false or d2 # value of d4 will be disabler
if d # neither branch is evaluated
```

View File

@ -328,7 +328,7 @@ The returned object also has methods that are documented in the
### disabler()
Returns a [disabler object]((#disabler-object)). Added in 0.44.0.
Returns a [disabler object](#disabler-object). Added in 0.44.0.
### error()