From 75ffcd8e5988cd6d7c89676fe9e87529f8c27648 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Mon, 15 Jun 2015 13:16:16 -0400 Subject: [PATCH] Remove confusing paragraph from Trait Objects It isn't really neccesary, but is pretty dense. Fixes #25956 --- src/doc/trpl/trait-objects.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/doc/trpl/trait-objects.md b/src/doc/trpl/trait-objects.md index 3da29c9b817..f9dbc143c82 100644 --- a/src/doc/trpl/trait-objects.md +++ b/src/doc/trpl/trait-objects.md @@ -300,7 +300,3 @@ let y = TraitObject { // y.method(); (y.vtable.method)(y.data); ``` - -If `b` or `y` were owning trait objects (`Box`), there would be a -`(b.vtable.destructor)(b.data)` (respectively `y`) call when they went out of -scope.