summaryrefslogtreecommitdiff
path: root/lib/deprecated
diff options
context:
space:
mode:
authorJohannes Kirschbauer <hsjobeki+github@gmail.com>2025-10-06 08:09:54 +0000
committerGitHub <noreply@github.com>2025-10-06 08:09:54 +0000
commitbb9da33c6283f6e9c5265ff92b5eee5d815944dd (patch)
treee8df39fae2c158633a53242bfc7123ded3473ed9 /lib/deprecated
parentvimPlugins.cybu-nvim: init at 2025-07-24 (#449020) (diff)
parentlib/*: fix docs to use "returns" instead of "return" (diff)
downloadnixpkgs-bb9da33c6283f6e9c5265ff92b5eee5d815944dd.tar.gz
lib/*: fix docs to use "returns" instead of "return" (#442388)
Diffstat (limited to 'lib/deprecated')
-rw-r--r--lib/deprecated/misc.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/deprecated/misc.nix b/lib/deprecated/misc.nix
index b5511e949a41..0abf4e0d080c 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