Skip to content

Commit b9462ca

Browse files
Do no over-explain unary restriction
Co-authored-by: Anatolii Kmetiuk <[email protected]>
1 parent e3cce77 commit b9462ca

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/docs/reference/changed-features/operators.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,3 @@ neither of its occurrences is followed by a space and a token that can start an
172172
A unary operator must not have explicit parameter lists even if they are empty.
173173
A unary operator is a method named "unary_`op`" where `op` is one of `+`, `-`, `!`, or `~`.
174174

175-
The reason for this restriction is that unary operator syntax does not support supplying an argument list, even if it is empty.

0 commit comments

Comments
 (0)