From 830bc9961af0947a5e14948808f19145afa7ddc7 Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 31 May 2023 12:48:04 +0200 Subject: chore: remove comments formerly meant for alignment /**/ 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 Autosubmit: sterni Tested-by: BuildkiteCI --- users/sterni/nix/string/default.nix | 1 - 1 file changed, 1 deletion(-) (limited to 'users/sterni/nix') 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}" -- cgit 1.4.1