Auto merge of #26317 - steveklabnik:gh25956, r=alexcrichton
It isn't really neccesary, but is pretty dense. Fixes #25956
This commit is contained in:
commit
00382a592b
1 changed files with 0 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue