Skip to content

Commit 4d38b49

Browse files
committed
Rollup merge of #24341 - beefsack:traits-doc-dead-link, r=huonw
The "static and dynamic dispatch" chapter seems to no longer exist but there is a dead link from the Traits chapter pointing to it. Have changed the link to point to "Trait Objects" which covers static and dynamic dispatch.
2 parents 882185e + 91ca622 commit 4d38b49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/trpl/traits.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ not, because both the trait and the type aren't in our crate.
273273

274274
One last thing about traits: generic functions with a trait bound use
275275
*monomorphization* (*mono*: one, *morph*: form), so they are statically
276-
dispatched. What's that mean? Check out the chapter on [static and dynamic
277-
dispatch](static-and-dynamic-dispatch.html) for more.
276+
dispatched. What's that mean? Check out the chapter on [trait
277+
objects](trait-objects.html) for more.
278278

279279
## Multiple trait bounds
280280

0 commit comments

Comments
 (0)