commit 340cf85faadbac0c51e072f588b70bd77f7c6c7b (tree)
parent 8ac3ad48c8eeccf400ab8b2014c958fc0256f5b7
Author: abdessalem <mohellebiabdessalem@gmail.com>
Date: Sun, 31 May 2026 09:39:57 +0100
add missing newline to destructuring mixed example
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/langref/destructuring_mixed.zig b/doc/langref/destructuring_mixed.zig
@@ -15,7 +15,7 @@ pub fn main() void {
// You can use _ to throw away unwanted values.
_, x, _ = tuple;
- print("x = {}", .{x});
+ print("x = {}\n", .{x});
}
// exe=succeed