Merge pull request #235625 from ShamrockLee/lib-doc-tidy

This commit is contained in:
Silvan Mosberger 2023-08-10 12:00:36 +02:00 committed by GitHub
commit 59b08b7ee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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