Skip to content

Commit 2a202cc

Browse files
committed
Remove note about recommending using dyn
I don't think this note is needed anymore. I think the reference should focus on documenting current rust of the latest edition, and not give too much commentary on older editions. Also, admonitions blocks don't really nest correctly.
1 parent 6288200 commit 2a202cc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/types/trait-object.md

-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ For example, given a trait `Trait`, the following are all trait objects:
4141
r[type.trait-object.syntax-edition2021]
4242
> **Edition differences**: Before the 2021 edition, the `dyn` keyword may be
4343
> omitted.
44-
>
45-
> Note: For clarity, it is recommended to always use the `dyn` keyword on your
46-
> trait objects unless your codebase supports compiling with Rust 1.26 or lower.
4744
4845
r[type.trait-object.syntax-edition2015]
4946
> **Edition differences**: In the 2015 edition, if the first bound of the

0 commit comments

Comments
 (0)