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.
1 parent 9bb8f88 commit a0eca23Copy full SHA for a0eca23
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