We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb0f9ce commit 6d90e65Copy full SHA for 6d90e65
src/items/associated-items.md
@@ -134,10 +134,10 @@ let circle_shape = Circle::new();
134
let bounding_box = circle_shape.bounding_box();
135
```
136
137
-> NOTE: Until the 2018 edition, it was possible to declare trait methods with
138
-> anonymous parameters (e.g. `fn foo(u8)`). This was deprecated and disallowed
139
-> in the 2018 edition. All parameters must have an argument name. See [RFC
140
-> 1685](https://github.com/rust-lang/rfcs/pull/1685).
+> **Edition Differences**: Until the 2018 edition, it was possible to declare
+> trait methods with anonymous parameters (e.g. `fn foo(u8)`). This was
+> deprecated and disallowed in the 2018 edition. All parameters must have an
+> argument name. See [RFC 1685](https://github.com/rust-lang/rfcs/pull/1685).
141
142
## Associated Types
143
0 commit comments