authorgravatar for mrpaul@aestheticwisdom.comPaul <mrpaul@aestheticwisdom.com> 2020-07-11 09:09:07+07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2020-07-11 09:09:07+07:00
log5afa7f2545a5f350bbac4c9d9349a7fbbd8f0977
tree408e5269b2a974403e32cce8088bf16024a1ec87
parentf510f385920b9a22bd1e68839cd4be3eea092e4d
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

Update doc/langref.html.in

Co-authored-by: Joachim Schmidt <joachim.schmidt557@outlook.com>

1 files changed, 2 insertions(+), 2 deletions(-)

doc/langref.html.in+2-2
...@@ -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 declared275 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>