Skip to content

Commit 7c05402

Browse files
author
Kevin Dreßler
authored
fix english
In english, "X may not be true" just expresses the *option* of X not being true, while "X must not be true" expresses a *strict requirement*.
1 parent 6cbb458 commit 7c05402

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/reference/other-new-features/trait-parameters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ because it violates the second rule of the following for trait parameters:
3030

3131
1. If a class `C` extends a parameterized trait `T`, and its superclass does not, `C` _must_ pass arguments to `T`.
3232

33-
2. If a class `C` extends a parameterized trait `T`, and its superclass does as well, `C` _may not_ pass arguments to `T`.
33+
2. If a class `C` extends a parameterized trait `T`, and its superclass does as well, `C` _must not_ pass arguments to `T`.
3434

35-
3. Traits may never pass arguments to parent traits.
35+
3. Traits must never pass arguments to parent traits.
3636

3737
Here's a trait extending the parameterized trait `Greeting`.
3838

0 commit comments

Comments
 (0)