doc: listToAttrs: add extra whitespace

This commit is contained in:
Alex Ameen 2022-12-01 10:32:45 -06:00
parent ec18b7d09b
commit ef524013aa

View file

@ -2420,8 +2420,12 @@ static RegisterPrimOp primop_listToAttrs({
Construct a set from a list specifying the names and values of each
attribute. Each element of the list should be a set consisting of a
string-valued attribute `name` specifying the name of the attribute,
and an attribute `value` specifying its value. In case of duplicate
occurrences of the same name, the first takes precedence. Example:
and an attribute `value` specifying its value.
In case of duplicate occurrences of the same name, the first
takes precedence.
Example:
```nix
builtins.listToAttrs