We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 248009c + e829c77 commit c6f46b5Copy full SHA for c6f46b5
docs/docs/reference/other-new-features/trait-parameters.md
@@ -26,7 +26,7 @@ class D extends C with Greeting("Bill") // error: parameter passed twice
26
```
27
28
Should this print "Bob" or "Bill"? In fact this program is illegal,
29
-because it violates one of the following rules for trait parameters:
+because it violates the second rule of the following for trait parameters:
30
31
1. If a class `C` extends a parameterized trait `T`, and its superclass does not, `C` _must_ pass arguments to `T`.
32
0 commit comments