doc: listToAttrs: fix line wrapping

This commit is contained in:
Alex Ameen 2022-11-30 23:21:09 -06:00
parent ad46726546
commit ec18b7d09b

View file

@ -2420,9 +2420,8 @@ 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