lib.zipAttrs: Remove needless function wrapping
Returning the partially applied `zipAttrsWith fn` is the same as `sets: zipAttrsWith fn sets`.
This commit is contained in:
parent
31f91738fb
commit
4338bfde09
1 changed files with 1 additions and 4 deletions
|
@ -870,10 +870,7 @@ rec {
|
|||
Type:
|
||||
zipAttrs :: [ AttrSet ] -> AttrSet
|
||||
*/
|
||||
zipAttrs =
|
||||
# List of attribute sets to zip together.
|
||||
sets:
|
||||
zipAttrsWith (name: values: values) sets;
|
||||
zipAttrs = zipAttrsWith (name: values: values);
|
||||
|
||||
/*
|
||||
Merge a list of attribute sets together using the `//` operator.
|
||||
|
|
Loading…
Reference in a new issue