Skip to content

Commit

Permalink
Auto merge of #26317 - steveklabnik:gh25956, r=alexcrichton
Browse files Browse the repository at this point in the history
It isn't really neccesary, but is pretty dense.

Fixes #25956
  • Loading branch information
bors committed Jun 16, 2015
2 parents f6d53af + 75ffcd8 commit 00382a5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/doc/trpl/trait-objects.md
Expand Up @@ -300,7 +300,3 @@ let y = TraitObject {
// y.method();
(y.vtable.method)(y.data);
```

If `b` or `y` were owning trait objects (`Box<Foo>`), there would be a
`(b.vtable.destructor)(b.data)` (respectively `y`) call when they went out of
scope.

0 comments on commit 00382a5

Please sign in to comment.