summary refs log tree commit diff
path: root/lib/attrsets.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/attrsets.nix')
-rw-r--r--lib/attrsets.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/attrsets.nix b/lib/attrsets.nix
index 6c666ea375e59..31dc27969cc04 100644
--- a/lib/attrsets.nix
+++ b/lib/attrsets.nix
@@ -624,7 +624,8 @@ rec {
 
   /* `unionOfDisjoint x y` is equal to `x // y // z` where the
      attrnames in `z` are the intersection of the attrnames in `x` and
-     `y`, and all values `assert` with an error message */
+     `y`, and all values `assert` with an error message.  This
+      operator is commutative, unlike (//). */
   unionOfDisjoint = x: y:
     x // (mapAttrs
       (name: val: