Update stdlib with new syntax for short function decl.

This commit is contained in:
Christoffer Lerno
2025-02-08 23:04:59 +01:00
parent c4f9efc8f5
commit e1d546225f
16 changed files with 335 additions and 417 deletions

View File

@@ -168,10 +168,7 @@ fn bool run_benchmarks(BenchmarkUnit[] benchmarks) @if(!$$OLD_TEST)
return true;
}
fn bool default_benchmark_runner(String[] args)
fn bool default_benchmark_runner(String[] args) => @pool()
{
@pool()
{
return run_benchmarks(benchmark_collection_create(allocator::temp()));
};
return run_benchmarks(benchmark_collection_create(allocator::temp()));
}