From cf69c99f3ec16deb25ae7a57ee579431828da249 Mon Sep 17 00:00:00 2001 From: Parker Jones <49885263+knotapun@users.noreply.github.com> Date: Fri, 27 Dec 2024 01:11:36 -0500 Subject: [PATCH] Make `readFileType` doc string consistent The primitive `readFileType p` has a list of acceptable types, and so does `readDir path` This edit makes the formatting of the list consistent between themselves, and other parts of the documentation. --- src/libexpr/primops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index c1f1cf4c18a..f19dd473ad7 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -2045,7 +2045,7 @@ static RegisterPrimOp primop_readFileType({ .args = {"p"}, .doc = R"( Determine the directory entry type of a filesystem node, being - one of "directory", "regular", "symlink", or "unknown". + one of `"directory"`, `"regular"`, `"symlink"`, or `"unknown"`. )", .fun = prim_readFileType, });