diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-04-12 18:46:14 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-04-12 19:09:53 +0530 |
| commit | 4d38b497cebfcaeffa6fb4f960af87757a46a944 (patch) | |
| tree | 03c362e122bdb002ea5009b035229abf5ffe8edd /src | |
| parent | 882185ecd58a0afc39543c4dcc2071e3f725c1ed (diff) | |
| parent | 91ca622cdf8502c37a867bea02f400a8ae5e9d4c (diff) | |
| download | rust-4d38b497cebfcaeffa6fb4f960af87757a46a944.tar.gz rust-4d38b497cebfcaeffa6fb4f960af87757a46a944.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/traits.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/traits.md b/src/doc/trpl/traits.md index 2986de4179b..25f5c7cacc7 100644 --- a/src/doc/trpl/traits.md +++ b/src/doc/trpl/traits.md @@ -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 |
