mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Update stdlib with new syntax for short function decl.
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user