diff options
author | Yueh-Shun Li <44064051+ShamrockLee@users.noreply.github.com> | 2023-06-03 00:12:35 +0800 |
---|---|---|
committer | Yueh-Shun Li <44064051+ShamrockLee@users.noreply.github.com> | 2023-06-03 00:48:45 +0800 |
commit | 96cccdd56f510692e4b16c85a4bdba0021f614dd (patch) | |
tree | 65b3f4dd5dec756a383aa7ae0d4f16d8803435cb /lib/trivial.nix | |
parent | 8a8d80f144a3ecf64c9471fd71338b7fffca2ee5 (diff) |
lib: fix nix-doc variable "Type" in comment
Fix documentation of lib.trivial.importJSON and lib.trivial.importTOML
Diffstat (limited to 'lib/trivial.nix')
-rw-r--r-- | lib/trivial.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/trivial.nix b/lib/trivial.nix index 26e4b32400f24..1f56093702570 100644 --- a/lib/trivial.nix +++ b/lib/trivial.nix @@ -307,14 +307,14 @@ rec { /* Reads a JSON file. - Type :: path -> any + Type: importJSON :: path -> any */ importJSON = path: builtins.fromJSON (builtins.readFile path); /* Reads a TOML file. - Type :: path -> any + Type: importTOML :: path -> any */ importTOML = path: builtins.fromTOML (builtins.readFile path); |