mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
lib: fix nix-doc variable "Type" in comment
Fix documentation of lib.trivial.importJSON and lib.trivial.importTOML
This commit is contained in:
parent
8a8d80f144
commit
96cccdd56f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user