diff options
| author | Felix Buehler <account@buehler.rocks> | 2025-09-12 16:16:41 +0200 |
|---|---|---|
| committer | Felix Buehler <account@buehler.rocks> | 2025-09-12 16:16:41 +0200 |
| commit | 06ac3fbebd4b6373e6d337d6b8c5aa5e5d61d5f6 (patch) | |
| tree | 17ae07fffee31ee89580a16ba693fec30ae4397c /lib/deprecated | |
| parent | python3Packages.awslambdaric: unpin autoconf 2.71 (#440979) (diff) | |
| download | nixpkgs-06ac3fbebd4b6373e6d337d6b8c5aa5e5d61d5f6.tar.gz | |
lib/*: fix docs to use "returns" instead of "return"
Diffstat (limited to 'lib/deprecated')
| -rw-r--r-- | lib/deprecated/misc.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/deprecated/misc.nix b/lib/deprecated/misc.nix index 22015c9b20aa..6cd8286d73d6 100644 --- a/lib/deprecated/misc.nix +++ b/lib/deprecated/misc.nix @@ -73,7 +73,7 @@ let name: default: attrs: attrs.${name} or default; - # Return the second argument if the first one is true or the empty version + # Returns the second argument if the first one is true or the empty version # of the second argument. ifEnable = cond: val: @@ -89,7 +89,7 @@ let else null; - # Return true only if there is an attribute and it is true. + # Returns true only if there is an attribute and it is true. checkFlag = attrSet: name: if name == "true" then |
