diff --git a/src/boot/boot.janet b/src/boot/boot.janet index 2818e2f6..3d008f8e 100644 --- a/src/boot/boot.janet +++ b/src/boot/boot.janet @@ -1351,9 +1351,10 @@ ret) (defn invert - `Returns a table where the keys of an associative data structure - are the values, and the values of the keys. If multiple keys have the same - value, one key will be ignored.` + ``Returns a table where the keys of an associative data structure + are the values, and the values are the keys. If multiple keys in `ds` + are mapped to the same value, only one of those values will + become a key in the returned table.`` [ds] (def ret @{}) (loop [k :keys ds]