Skip to content

Commit

Permalink
Update training-slides/src/dynamic-dispatch.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpallant authored Nov 19, 2024
1 parent e949b43 commit f2378f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion training-slides/src/dynamic-dispatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ See <https://godbolt.org/z/cheWrvM45>

## Trait Objects and Closures

Closure traits fulfill `dyn compatibility` rules.
Closure traits are dyn-compatible.

```rust []
fn factory() -> Box<dyn Fn(i32) -> i32> {
Expand Down

0 comments on commit f2378f8

Please sign in to comment.