about summary refs log tree commit diff
path: root/users/sterni/nix/string/default.nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2023-05-31T10·48+0200
committerclbot <clbot@tvl.fyi>2023-05-31T10·55+0000
commit830bc9961af0947a5e14948808f19145afa7ddc7 (patch)
treec99a62de4c49b358a29781fcf113b3c8a8109ef9 /users/sterni/nix/string/default.nix
parent2b0b4cadbd67d768419e71e918c105b26eb57ca7 (diff)
chore: remove comments formerly meant for alignment r/6224
/**/ is a nice way to align if statements which doesn't work with
nixpkgs-fmt, since it'll reflow the comment to the line preceding the
if. Consequently, we can delete these comments now.

Change-Id: Ifa5327f846a903e07607b21f8eedbc32fc36f758
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8689
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/sterni/nix/string/default.nix')
-rw-r--r--users/sterni/nix/string/default.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/users/sterni/nix/string/default.nix b/users/sterni/nix/string/default.nix
index 852ef2538fdc..381c8ddff748 100644
--- a/users/sterni/nix/string/default.nix
+++ b/users/sterni/nix/string/default.nix
@@ -87,7 +87,6 @@ let
         ({ out ? "", argIndex ? 0 }: token: {
           argIndex = argIndex + (if specifierWithArg token then 1 else 0);
           out =
-            /**/
             if token == "%s" then out + builtins.elemAt args argIndex
             else if token == "%%" then out + "%"
             else if isSpecifier token then throw "Unsupported format specifier ${token}"