mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
doc: listToAttrs: fix line wrapping
This commit is contained in:
parent
ad46726546
commit
ec18b7d09b
1 changed files with 2 additions and 3 deletions
|
@ -2420,9 +2420,8 @@ static RegisterPrimOp primop_listToAttrs({
|
||||||
Construct a set from a list specifying the names and values of each
|
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
|
attribute. Each element of the list should be a set consisting of a
|
||||||
string-valued attribute `name` specifying the name of the attribute,
|
string-valued attribute `name` specifying the name of the attribute,
|
||||||
and an attribute `value` specifying its value.
|
and an attribute `value` specifying its value. In case of duplicate
|
||||||
In case of duplicate occurrences of the same name, the first
|
occurrences of the same name, the first takes precedence. Example:
|
||||||
takes precedence. Example:
|
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
builtins.listToAttrs
|
builtins.listToAttrs
|
||||||
|
|
Loading…
Reference in a new issue