Skip to content

Commit 7b1b831

Browse files
committed
docs: clarify values.zig error name is arbitrary.
Signed-off-by: Nashwan Azhari <[email protected]>
1 parent 90d3c9c commit 7b1b831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/langref/values.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub fn main() void {
3636
});
3737

3838
// error union
39-
var number_or_error: anyerror!i32 = error.ArgNotFound;
39+
var number_or_error: anyerror!i32 = error.ArbitraryErrorName;
4040

4141
print("\nerror union 1\ntype: {}\nvalue: {!}\n", .{
4242
@TypeOf(number_or_error),

0 commit comments

Comments
 (0)