about summary refs log tree commit diff
path: root/src/doc/book/trait-objects.md
AgeCommit message (Collapse)AuthorLines
2017-02-13Port TRPL to mdbookSteve Klabnik-335/+0
1. move everything under a src directory 2. add README.md to the SUMMARY.md
2017-01-19No need to mention how these fields are usedCesar Eduardo Barros-2/+1
2017-01-19book: size and align in trait object vtables are usedCesar Eduardo Barros-3/+1
The book currently claims that the `size` and `align` fields in the trait object vtable are not used, but this is false. These two fields are used by the stable `mem::size_of_val` and `mem::align_of_val` functions. See the `ty::TyDynamic` case of the `glue::size_and_align_of_dst` function in librustc_trans, which is used to implement both intrinsics in the unsized case.
2016-11-13Improved punctuation, capitalization, and sentence structure of code snippet ↵Angelo Polo-10/+10
comments
2016-07-26doc/book/trait-objects: remove empty lines at start of examplesRahiel Kasim-2/+0
2016-05-18Rust syntax coloring for some ignore, should-panic and no-run snippets.Steven Burns-1/+1
2016-01-09Remove many instances of 'just'Steve Klabnik-1/+1
Doing so is considered weaker writing. Thanks @Charlotteis! Fixes #28810
2015-11-19src/doc/trpl -> src/doc/bookSteve Klabnik-0/+340
The book was located under 'src/doc/trpl' because originally, it was going to be hosted under that URL. Late in the game, before 1.0, we decided that /book was a better one, so we changed the output, but not the input. This causes confusion for no good reason. So we'll change the source directory to look like the output directory, like for every other thing in src/doc.