| author | |
| committer | |
| log | b22ef55f362ca77d23a09c5d27065159fbc5f1f6 |
| tree | c124fdc77e768031841dd08b1cc528ee2c3b9b6c |
| parent | 23f729aec96cec68be15436db2a38e37d54fbe8f |
1 files changed, 1 insertions(+), 1 deletions(-)
doc/langref.html.in+1-1| ... | ... | @@ -5577,7 +5577,7 @@ fn doAThing(str: []u8) void { |
| 5577 | 5577 | errors in the {#syntax#}else{#endsyntax#} case, which now contains a narrower error set: |
| 5578 | 5578 | </p> |
| 5579 | 5579 | {#syntax_block|zig|handle_some_error_scenarios.zig#} |
| 5580 | fn doAnotherThing(str: []u8) error{InvaidChar}!void { | |
| 5580 | fn doAnotherThing(str: []u8) error{InvalidChar}!void { | |
| 5581 | 5581 | if (parseU64(str, 10)) |number| { |
| 5582 | 5582 | doSomethingWithNumber(number); |
| 5583 | 5583 | } else |err| switch (err) { |