about summary refs log tree commit diff
path: root/tools/eprintf.nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-09-15T15·42+0200
committersterni <sternenseemann@systemli.org>2022-09-15T15·52+0000
commit05958703410d37f874c4705cabbbba2082c555f7 (patch)
tree0a8130fac7ff003d081dcc10b1af6333079791bd /tools/eprintf.nix
parent4eb33e82ff418de0ad811a0d3afffac84831fac4 (diff)
refactor(tvix/eval): don't move parts Vec in compile_str_parts r/4861
This allows us to get rid of the count local variable which was a bit
confusing. Calling parts.len() multiple times is fine, since the length
doesn't need to be computed.

Change-Id: I4f626729ad1bf23a93cb701385c3f4b50c57456d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6584
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tools/eprintf.nix')
0 files changed, 0 insertions, 0 deletions