lib/attrsets: Fix error in comment for getAttrFromPath

This commit is contained in:
Silvan Mosberger 2020-01-20 22:42:38 +01:00
parent 764aba4c1b
commit 74775d1d72
No known key found for this signature in database
GPG Key ID: E8F1E9EAD284E17D

View File

@ -60,7 +60,7 @@ rec {
[ { name = head attrPath; value = setAttrByPath (tail attrPath) value; } ]; [ { name = head attrPath; value = setAttrByPath (tail attrPath) value; } ];
/* Like `getAttrPath' without a default value. If it doesn't find the /* Like `attrByPath' without a default value. If it doesn't find the
path it will throw. path it will throw.
Example: Example: