Re:Rust's 2017 Roadmap
by steveklabnik on Tuesday February 07, 2017 @02:25PM
(#13591874)
Yes, this is true.
(And the second edition will have trait objects in it, it's not there yet though.)
(And the second edition will have trait objects in it, it's not there yet though.)
I think the specific case you mention was a problem more caused by a desire to have some documentation for 1.0, even if it isn't perfect, rather than just leaving the feature undocumented. That page is originally[1] based on a blog post[2] that is targeting people who want to know how they work internally, and there wasn't much time before 1.0 for feedback, revision and iteration of it (there was one cycle, which improved it in the direction you want, but more is always better). The second edition[3] doesn't have the 1.0 crunch date, and benefits a lot from feedback on the existing teaching material (like yours here) and the extra experience the team has had teaching Rust, so, by all reports, does a much better job. (It doesn't seem to currently have anything about trait objects, but I'm sure it will soon.)
[1]: https://github.com/rust-lang/rust/commit/dbccd70a5736fd2e898...
[2]: http://huonw.github.io/blog/2015/01/peeking-inside-trait-obj...
[3]: http://rust-lang.github.io/book/