From 0ba9a655f231336b8a884f2522a40873eff5a3ce Mon Sep 17 00:00:00 2001 From: Anton Mosich Date: Sat, 29 Nov 2025 16:11:01 +0100 Subject: [PATCH] docs/lib: Fix smaller typos The changes is lib/attrsets.nix make sure the names are consistent with the names used in the respective description. --- lib/attrsets.nix | 4 ++-- lib/generators.nix | 2 +- lib/trivial.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/attrsets.nix b/lib/attrsets.nix index b8a98de69971..b05f8a2f867e 100644 --- a/lib/attrsets.nix +++ b/lib/attrsets.nix @@ -127,7 +127,7 @@ rec { : A list of strings representing the attribute path to check from `set` - `e` + `set` : The nested attribute set to check @@ -563,7 +563,7 @@ rec { : A list of attribute names to get out of `set` - `attrs` + `set` : The set to get the named attributes from diff --git a/lib/generators.nix b/lib/generators.nix index 613a83e25e5e..2634115daa1b 100644 --- a/lib/generators.nix +++ b/lib/generators.nix @@ -131,7 +131,7 @@ rec { /** Generate a line of key `k` and value `v`, separated by character `sep`. If `sep` appears in `k`, it is escaped. - Helper for synaxes with different separators. + Helper for syntaxes with different separators. `mkValueString` specifies how values should be formatted. diff --git a/lib/trivial.nix b/lib/trivial.nix index 64e23a2645dc..317b993f12d2 100644 --- a/lib/trivial.nix +++ b/lib/trivial.nix @@ -1139,7 +1139,7 @@ in # Type ``` - fromHexString :: String -> [ String ] + fromHexString :: String -> Int ``` # Examples