There was an error while loading. Please reload this page.
2 parents f6d53af + 75ffcd8 commit 00382a5Copy full SHA for 00382a5
1 file changed
src/doc/trpl/trait-objects.md
@@ -300,7 +300,3 @@ let y = TraitObject {
300
// y.method();
301
(y.vtable.method)(y.data);
302
```
303
-
304
-If `b` or `y` were owning trait objects (`Box<Foo>`), there would be a
305
-`(b.vtable.destructor)(b.data)` (respectively `y`) call when they went out of
306
-scope.
0 commit comments