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 <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
sterni 2023-05-31 12:48:04 +02:00 committed by clbot
parent 2b0b4cadbd
commit 830bc9961a
3 changed files with 0 additions and 3 deletions

View file

@ -513,7 +513,6 @@ let
# See https://ccl.clozure.com/docs/ccl.html#building-definitions # See https://ccl.clozure.com/docs/ccl.html#building-definitions
faslExt = faslExt =
/**/
if targetPlatform.isPower && targetPlatform.is32bit then "pfsl" if targetPlatform.isPower && targetPlatform.is32bit then "pfsl"
else if targetPlatform.isPower && targetPlatform.is64bit then "p64fsl" else if targetPlatform.isPower && targetPlatform.is64bit then "p64fsl"
else if targetPlatform.isx86_64 && targetPlatform.isLinux then "lx64fsl" else if targetPlatform.isx86_64 && targetPlatform.isLinux then "lx64fsl"

View file

@ -45,7 +45,6 @@ let
let let
withLeading = p: if builtins.substring 0 1 p == "/" then p else "/" + p; withLeading = p: if builtins.substring 0 1 p == "/" then p else "/" + p;
fullPath = fullPath =
/**/
if builtins.isPath path then path if builtins.isPath path then path
else if builtins.isString path then (root + withLeading path) else if builtins.isString path then (root + withLeading path)
else builtins.throw "Unsupported path type ${builtins.typeOf path}"; else builtins.throw "Unsupported path type ${builtins.typeOf path}";

View file

@ -87,7 +87,6 @@ let
({ out ? "", argIndex ? 0 }: token: { ({ out ? "", argIndex ? 0 }: token: {
argIndex = argIndex + (if specifierWithArg token then 1 else 0); argIndex = argIndex + (if specifierWithArg token then 1 else 0);
out = out =
/**/
if token == "%s" then out + builtins.elemAt args argIndex if token == "%s" then out + builtins.elemAt args argIndex
else if token == "%%" then out + "%" else if token == "%%" then out + "%"
else if isSpecifier token then throw "Unsupported format specifier ${token}" else if isSpecifier token then throw "Unsupported format specifier ${token}"