aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/language/operators.md
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-23 16:54:45 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-23 16:54:45 -0500
commite68e8e3cee53ce7debd7c54b0d122d94d1b102a2 (patch)
treed868fcfb339515ffb01b800814a2349e19f0246a /doc/manual/src/language/operators.md
parent30610f260d61964a4d91e7f7f590f621ea03fef6 (diff)
parent4540e7b940ca56db821fe7c7d7d79fafa488f55e (diff)
Merge branch 'path-info' into ca-drv-exotic
Diffstat (limited to 'doc/manual/src/language/operators.md')
-rw-r--r--doc/manual/src/language/operators.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/manual/src/language/operators.md b/doc/manual/src/language/operators.md
index 797f13bd3..1f918bd4d 100644
--- a/doc/manual/src/language/operators.md
+++ b/doc/manual/src/language/operators.md
@@ -24,7 +24,7 @@
| [Equality] | *expr* `==` *expr* | none | 11 |
| Inequality | *expr* `!=` *expr* | none | 11 |
| Logical conjunction (`AND`) | *bool* `&&` *bool* | left | 12 |
-| Logical disjunction (`OR`) | *bool* `||` *bool* | left | 13 |
+| Logical disjunction (`OR`) | *bool* `\|\|` *bool* | left | 13 |
| [Logical implication] | *bool* `->` *bool* | none | 14 |
[string]: ./values.md#type-string
@@ -120,12 +120,12 @@ The result is a string.
## Update
-> *attrset1* + *attrset2*
+> *attrset1* // *attrset2*
Update [attribute set] *attrset1* with names and values from *attrset2*.
-The returned attribute set will have of all the attributes in *e1* and *e2*.
-If an attribute name is present in both, the attribute value from the former is taken.
+The returned attribute set will have of all the attributes in *attrset1* and *attrset2*.
+If an attribute name is present in both, the attribute value from the latter is taken.
[Update]: #update