diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index 802f7cd40bf..9322985a922 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -2459,7 +2459,7 @@ fn draw_all(shapes: &[Box]) { } ~~~~ -In this example, there is no type parameter. Instead, the `~Drawable` +In this example, there is no type parameter. Instead, the `Box` type denotes any owned box value that implements the `Drawable` trait. To construct such a value, you use the `as` operator to cast a value to an object: