Auto merge of #26317 - steveklabnik:gh25956, r=alexcrichton

It isn't really neccesary, but is pretty dense.

Fixes #25956
This commit is contained in:
bors 2015-06-16 06:44:56 +00:00
commit 00382a592b

View File

@ -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.