mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
doc: listToAttrs: add extra whitespace
This commit is contained in:
parent
ec18b7d09b
commit
ef524013aa
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue