lib: fix nix-doc variable "Type" in comment
Fix documentation of lib.trivial.importJSON and lib.trivial.importTOML
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user