diff --git a/src/ch17-03-more-futures.md b/src/ch17-03-more-futures.md index 3d3c83fcd..b799aa30d 100644 --- a/src/ch17-03-more-futures.md +++ b/src/ch17-03-more-futures.md @@ -112,8 +112,8 @@ Unfortunately, this still does not compile. In fact, we have the same basic error we did before, but we get one for both the second and third `Box::new` calls, and we also get new errors referring to the `Unpin` trait. We will come back to the `Unpin` errors in a moment. First, let’s fix the type errors on the -`Box::new` calls, by explicitly providing the type of `futures` as a trait -object (Listing 17-17). +`Box::new` calls, by explicitly annotating the type of the futures as a trait +object: