Skip to content

Commit 60f85f4

Browse files
committed
Less blabbing per review
1 parent 6e84331 commit 60f85f4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,5 @@ neither of its occurrences is followed by a space and a token that can start an
169169

170170
## Unary operators
171171

172-
As a minor restriction, the first parameter list of a unary operator must not be explicit and empty.
172+
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 `~`.
174-
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)