Remove confusing paragraph from Trait Objects
It isn't really neccesary, but is pretty dense. Fixes #25956
This commit is contained in:
parent
0d82fb55db
commit
75ffcd8e59
@ -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…
x
Reference in New Issue
Block a user