Fix documentation on disabler behaviour with short circuiting.
This commit is contained in:
parent
448710ba96
commit
04d5d017c5
|
@ -45,7 +45,8 @@ object then
|
||||||
|
|
||||||
```meson
|
```meson
|
||||||
d2 = some_func(d) # value of d2 will be disabler
|
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
|
if d # neither branch is evaluated
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -328,7 +328,7 @@ The returned object also has methods that are documented in the
|
||||||
|
|
||||||
### disabler()
|
### disabler()
|
||||||
|
|
||||||
Returns a [disabler object]((#disabler-object)). Added in 0.44.0.
|
Returns a [disabler object](#disabler-object). Added in 0.44.0.
|
||||||
|
|
||||||
### error()
|
### error()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue