From f2fc3f0e2680fafd3c39a188b2daa73e7b84436d Mon Sep 17 00:00:00 2001 From: JirCep Date: Fri, 21 Oct 2022 21:24:10 +0200 Subject: [PATCH] `Vec` return --- src/ch17-02-trait-objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch17-02-trait-objects.md b/src/ch17-02-trait-objects.md index 328d58d81f..a3316e0174 100644 --- a/src/ch17-02-trait-objects.md +++ b/src/ch17-02-trait-objects.md @@ -124,7 +124,7 @@ collections, using generics and trait bounds is preferable because the definitions will be monomorphized at compile time to use the concrete types. On the other hand, with the method using trait objects, one `Screen` instance -can hold a `Vec` that contains a `Box