Added new style named arguments.

This commit is contained in:
Christoffer Lerno
2024-08-27 22:31:22 +02:00
parent e795745e43
commit ed5d338a39
42 changed files with 405 additions and 304 deletions

View File

@@ -161,7 +161,7 @@ fn void! main()
String foo_tmpl = "<<{{foo}} | {{bar}}>>";
FooTmpl ft;
ft.init(foo_tmpl, .using = allocator::temp())!;
ft.init(foo_tmpl, using: allocator::temp())!;
defer ft.free()!!;