about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2024-01-29 08:17:46 +0100
committerRobert Hensing <robert@roberthensing.nl>2024-04-04 11:54:45 +0200
commite090bb55f0599afcdfda63f3e7e27bfd1cfd0691 (patch)
tree8f82c025b368298c35b188643bbdf9ff90242876 /lib
parent0bc978322178fe6dbe91fe1477d275e1005d5e77 (diff)
downloadnixlib-e090bb55f0599afcdfda63f3e7e27bfd1cfd0691.tar
nixlib-e090bb55f0599afcdfda63f3e7e27bfd1cfd0691.tar.gz
nixlib-e090bb55f0599afcdfda63f3e7e27bfd1cfd0691.tar.bz2
nixlib-e090bb55f0599afcdfda63f3e7e27bfd1cfd0691.tar.lz
nixlib-e090bb55f0599afcdfda63f3e7e27bfd1cfd0691.tar.xz
nixlib-e090bb55f0599afcdfda63f3e7e27bfd1cfd0691.tar.zst
nixlib-e090bb55f0599afcdfda63f3e7e27bfd1cfd0691.zip
lib/types.nix: Fix getSubOptions doc
This comment was added in 73f32d03758a5, when it was already
supposed to be an attrset.
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 2f0b10fe9658..43c4b72ad350 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -157,7 +157,7 @@ rec {
       # If it doesn't, this should be {}
       # This may be used when a value is required for `mkIf false`. This allows the extra laziness in e.g. `lazyAttrsOf`.
       emptyValue ? {}
-    , # Return a flat list of sub-options.  Used to generate
+    , # Return a flat attrset of sub-options.  Used to generate
       # documentation.
       getSubOptions ? prefix: {}
     , # List of modules if any, or null if none.