| ... | @@ -273,8 +273,8 @@ pub fn main() !void { | ... | @@ -273,8 +273,8 @@ pub fn main() !void { |
| 273 | </p> | 273 | </p> |
| 274 | <p> | 274 | <p> |
| 275 | In the <code>hello.zig</code> code sample, the <code>main</code> function is declared | 275 | In the <code>hello.zig</code> code sample, the <code>main</code> function is declared |
| 276 | with the {#syntax#}!void{#endsyntax#} return type. This return type tells the Zig compiler, | 276 | with the {#syntax#}!void{#endsyntax#} return type. This return type tells the Zig compiler |
| 277 | and other people reading the code, the function will not return a value and it <i>might</i> fail. | 277 | and other people reading the code that the function will not return a value and it <i>might</i> fail. |
| 278 | The {#syntax#}!{#endsyntax#} (bang, exclamation mark) before the {#syntax#}void{#endsyntax#} | 278 | The {#syntax#}!{#endsyntax#} (bang, exclamation mark) before the {#syntax#}void{#endsyntax#} |
| 279 | {#link|type|Primitive Types#} is what tells the Zig compiler an {#link|error|Errors#} <i>might</i> | 279 | {#link|type|Primitive Types#} is what tells the Zig compiler an {#link|error|Errors#} <i>might</i> |
| 280 | occur. The {#syntax#}void{#endsyntax#} return type tells the Zig compiler the <code>main</code> | 280 | occur. The {#syntax#}void{#endsyntax#} return type tells the Zig compiler the <code>main</code> |