From e3424332d3fa1264e1f6861b76bb0d1b2996728d Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Sat, 4 May 2024 14:29:17 -0400 Subject: Build: cleanup * `doc/langref` formatting * upgrade `.{ .path = "..." }` to `b.path("...")` * avoid using arguments named `self` * make `Build.Step.Id` usage more consistent * add `Build.pathResolve` * use `pathJoin` and `pathResolve` everywhere * make sure `Build.LazyPath.getPath2` returns an absolute path --- doc/langref/test_while_continue_expression.zig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/langref/test_while_continue_expression.zig') diff --git a/doc/langref/test_while_continue_expression.zig b/doc/langref/test_while_continue_expression.zig index 902796be41..3831f91c05 100644 --- a/doc/langref/test_while_continue_expression.zig +++ b/doc/langref/test_while_continue_expression.zig @@ -9,7 +9,10 @@ test "while loop continue expression" { test "while loop continue expression, more complicated" { var i: usize = 1; var j: usize = 1; - while (i * j < 2000) : ({ i *= 2; j *= 3; }) { + while (i * j < 2000) : ({ + i *= 2; + j *= 3; + }) { const my_ij = i * j; try expect(my_ij < 2000); } -- cgit v1.2.3