From e57458a94f677c54ba3ff6698831312e622e8b2b Mon Sep 17 00:00:00 2001 From: Paul Date: Sat, 11 Jul 2020 09:10:08 +0700 Subject: [PATCH] Update doc/langref.html.in Co-authored-by: Joachim Schmidt --- doc/langref.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 6821dfd9f9..d181844e90 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -263,7 +263,7 @@ pub fn main() !void { Next, a {#link|public function|Functions#}, {#syntax#}pub fn{#endsyntax#}, named main is declared. The main function is necessary because it tells the Zig compiler where the start of the program exists. Programs designed to be executed will need a {#syntax#}pub fn main{#endsyntax#} function. - For more advanced Zig use cases, Zig offers other features to inform the compiler where the start of + For more advanced use cases, Zig offers other features to inform the compiler where the start of the program exists. Libraries, on the other hand, do not need a main function because library code is usually called by other programs.