Skip to content

Commit 8700f4d

Browse files
committed
docs: add comment about operator overloading
1 parent c81a4b3 commit 8700f4d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/langref.html.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,10 @@ pub fn main() void {
754754
{#header_close#}
755755
{#header_close#}
756756
{#header_open|Operators#}
757+
<p>
758+
There is no operator overloading. When you see an operator in Zig, you know that
759+
it is doing something from this table, and nothing else.
760+
</p>
757761
{#header_open|Table of Operators#}
758762
<div class="table-wrapper">
759763
<table>

0 commit comments

Comments
 (0)