docs: add comment about operator overloading

This commit is contained in:
Andrew Kelley 2018-10-05 18:25:20 -04:00
parent c81a4b3e3d
commit 8700f4d2b1
No known key found for this signature in database
GPG Key ID: 4E7CD66038A4D47C

View File

@ -754,6 +754,10 @@ pub fn main() void {
{#header_close#}
{#header_close#}
{#header_open|Operators#}
<p>
There is no operator overloading. When you see an operator in Zig, you know that
it is doing something from this table, and nothing else.
</p>
{#header_open|Table of Operators#}
<div class="table-wrapper">
<table>