We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f03863a + a0eca23 commit fce98e5Copy full SHA for fce98e5
src/doc/tutorial.md
@@ -2459,7 +2459,7 @@ fn draw_all(shapes: &[Box<Drawable>]) {
2459
}
2460
~~~~
2461
2462
-In this example, there is no type parameter. Instead, the `~Drawable`
+In this example, there is no type parameter. Instead, the `Box<Drawable>`
2463
type denotes any owned box value that implements the `Drawable` trait.
2464
To construct such a value, you use the `as` operator to cast a value
2465
to an object:
0 commit comments