From 8e2a8cc7f37819531fbf3ce1e5cc63626b5800ce Mon Sep 17 00:00:00 2001 From: Swastik Baranwal Date: Sat, 27 Jun 2020 22:56:21 +0530 Subject: [PATCH] doc: add `%` in op overloading section --- doc/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/docs.md b/doc/docs.md index 3d7e658aba..bea17fddc4 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -1864,7 +1864,7 @@ in order to improve readability: To improve safety and maintainability, operator overloading is limited: -- It's only possible to overload `+, -, *, /` operators. +- It's only possible to overload `+, -, *, /, %` operators. - Calling other functions inside operator functions is not allowed. - Operator functions can't modify their arguments. - Both arguments must have the same type (just like with all operators in V).