From f2378f8c4494f860eccd268aab3f128b4b70dd84 Mon Sep 17 00:00:00 2001 From: Jonathan Pallant Date: Tue, 19 Nov 2024 18:05:21 +0000 Subject: [PATCH] Update training-slides/src/dynamic-dispatch.md --- training-slides/src/dynamic-dispatch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/training-slides/src/dynamic-dispatch.md b/training-slides/src/dynamic-dispatch.md index 76662b8..682fa38 100644 --- a/training-slides/src/dynamic-dispatch.md +++ b/training-slides/src/dynamic-dispatch.md @@ -110,7 +110,7 @@ See ## Trait Objects and Closures -Closure traits fulfill `dyn compatibility` rules. +Closure traits are dyn-compatible. ```rust [] fn factory() -> Box i32> {