diff options
| author | Paul <mrpaul@aestheticwisdom.com> | 2020-07-11 09:10:08 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-11 09:10:08 +0700 |
| commit | e57458a94f677c54ba3ff6698831312e622e8b2b (patch) | |
| tree | 17a8cb64b30b7f1dfc880db55278924f451ed635 /doc | |
| parent | 50df1334f35411e0dbf12624dab68667a4e7a6ac (diff) | |
| download | zig-e57458a94f677c54ba3ff6698831312e622e8b2b.tar.gz zig-e57458a94f677c54ba3ff6698831312e622e8b2b.zip | |
Update doc/langref.html.in
Co-authored-by: Joachim Schmidt <joachim.schmidt557@outlook.com>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 <code>main</code> is declared. The <code>main</code> 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 <code>main</code> function because library code is usually called by other programs. </p> |
