-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Document trait objects in the book #21707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes, this has been on my list a long time. |
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Feb 10, 2015
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Feb 10, 2015
…lexcrichton I started to write up some docs on this, and then realized I was just repeating http://huonw.github.io/blog/2015/01/peeking-inside-trait-objects/ but worse. @huonw previously said that we can use this content if we wanted, so I made some tweaks and integrated it into the book. Fixes rust-lang#21707
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Feb 10, 2015
I started to write up some docs on this, and then realized I was just repeating http://huonw.github.io/blog/2015/01/peeking-inside-trait-objects/ but worse. @huonw previously said that we can use this content if we wanted, so I made some tweaks and integrated it into the book. Fixes rust-lang#21707
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trait objects seem not to be documented at all in the book, which together with their mandatory lifetime bound annotation makes them almost undiscoverable. Fortunately, there are some nice blog posts by @huonw, but they are unlikely for a user to stumble upon.
Also, the only occurence of 'trait object' in the reference is following sentence, which is strange:
The text was updated successfully, but these errors were encountered: