From 96cccdd56f510692e4b16c85a4bdba0021f614dd Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li <44064051+ShamrockLee@users.noreply.github.com> Date: Sat, 3 Jun 2023 00:12:35 +0800 Subject: [PATCH] lib: fix nix-doc variable "Type" in comment Fix documentation of lib.trivial.importJSON and lib.trivial.importTOML --- lib/trivial.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/trivial.nix b/lib/trivial.nix index 26e4b32400f2..1f5609370257 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);