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.
This commit is contained in:
Manish Goregaokar 2015-04-12 18:46:14 +05:30
commit 4d38b497ce

View file

@ -273,8 +273,8 @@ not, because both the trait and the type aren't in our crate.
One last thing about traits: generic functions with a trait bound use
*monomorphization* (*mono*: one, *morph*: form), so they are statically
dispatched. What's that mean? Check out the chapter on [static and dynamic
dispatch](static-and-dynamic-dispatch.html) for more.
dispatched. What's that mean? Check out the chapter on [trait
objects](trait-objects.html) for more.
## Multiple trait bounds