lib: fix nix-doc variable "Type" in comment

Fix documentation of lib.trivial.importJSON and lib.trivial.importTOML
This commit is contained in:
Yueh-Shun Li 2023-06-03 00:12:35 +08:00
parent 8a8d80f144
commit 96cccdd56f

View File

@ -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);