Skip to content

Commit b5131cc

Browse files
Havvymark-i-m
authored andcommitted
Condense edition difference block. Remove RFC link
1 parent 6d90e65 commit b5131cc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/items/associated-items.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,9 @@ let circle_shape = Circle::new();
134134
let bounding_box = circle_shape.bounding_box();
135135
```
136136

137-
> **Edition Differences**: Until the 2018 edition, it was possible to declare
138-
> trait methods with anonymous parameters (e.g. `fn foo(u8)`). This was
139-
> deprecated and disallowed in the 2018 edition. All parameters must have an
140-
> argument name. See [RFC 1685](https://github.com/rust-lang/rfcs/pull/1685).
137+
> **Edition Differences**: In the 2015 edition, it is possible to declare trait
138+
> methods with anonymous parameters (e.g. `fn foo(u8)`). This is deprecated and
139+
> an error as of the 2018 edition. All parameters must have an argument name.
141140
142141
## Associated Types
143142

0 commit comments

Comments
 (0)