summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2022-01-30 01:53:24 +0100
committerJan Tojnar <jtojnar@gmail.com>2022-01-30 02:02:09 +0100
commit2f012d93ed89c63dd0af602ef109f4276a343167 (patch)
treea75af97df1611e203a2f8748f00c0b43f51efe0d /lib
parentd4ecaf699e25872a010438c88ec24696cb727862 (diff)
downloadnixpkgs-2f012d93ed89c63dd0af602ef109f4276a343167.tar
nixpkgs-2f012d93ed89c63dd0af602ef109f4276a343167.tar.gz
nixpkgs-2f012d93ed89c63dd0af602ef109f4276a343167.tar.bz2
nixpkgs-2f012d93ed89c63dd0af602ef109f4276a343167.tar.lz
nixpkgs-2f012d93ed89c63dd0af602ef109f4276a343167.tar.xz
nixpkgs-2f012d93ed89c63dd0af602ef109f4276a343167.tar.zst
nixpkgs-2f012d93ed89c63dd0af602ef109f4276a343167.zip
lib.trivial: Change comment type before concat function
C-style comment was being picked up by nixdoc as a documentation comment for the function.
Diffstat (limited to 'lib')
-rw-r--r--lib/trivial.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/trivial.nix b/lib/trivial.nix
index 575aaf6a7ad..c68bac902e9 100644
--- a/lib/trivial.nix
+++ b/lib/trivial.nix
@@ -61,11 +61,11 @@ rec {
   pipe = val: functions:
     let reverseApply = x: f: f x;
     in builtins.foldl' reverseApply val functions;
-  /* note please don’t add a function like `compose = flip pipe`.
-     This would confuse users, because the order of the functions
-     in the list is not clear. With pipe, it’s obvious that it
-     goes first-to-last. With `compose`, not so much.
-  */
+
+  # note please don’t add a function like `compose = flip pipe`.
+  # This would confuse users, because the order of the functions
+  # in the list is not clear. With pipe, it’s obvious that it
+  # goes first-to-last. With `compose`, not so much.
 
   ## Named versions corresponding to some builtin operators.