commit 8700f4d2b1a169515314fe57bd9f080a906efa59 (tree)
parent c81a4b3e3d75577b69f37f57a21d2434019fa41d
Author: Andrew Kelley <superjoe30@gmail.com>
Date: Fri, 5 Oct 2018 18:25:20 -0400
docs: add comment about operator overloading
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in
@@ -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>