Skip to content

Commit e0625a7

Browse files
authored
Merge pull request #1938 from tshepang/patch-1
glossary.md: tweak description of "dispatch"
2 parents 0473579 + 8235898 commit e0625a7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/glossary.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,7 @@ root, including through [paths] of public modules.
6262

6363
### Dispatch
6464

65-
Dispatch is the mechanism to determine which specific version of code is actually
66-
run when it involves polymorphism. Two major forms of dispatch are static dispatch and
67-
dynamic dispatch. While Rust favors static dispatch, it also supports dynamic dispatch
68-
through a mechanism called ‘trait objects’.
65+
Dispatch is the mechanism to determine which specific version of code is actually run when it involves polymorphism. Two major forms of dispatch are static dispatch and dynamic dispatch. Rust supports dynamic dispatch through the use of [trait objects][type.trait-object].
6966

7067
### Dynamically sized type
7168

0 commit comments

Comments
 (0)