Manish Goregaokar d6c6bbf200
Rollup merge of #33335 - cramertj:master, r=alexcrichton
docs: Changed docs for `size_of` to describe size as a stride offset

Current documentation for `std::mem::size_of` is ambiguous, and the documentation for `std::intrinsics::size_of` incorrectly defines size.

This fix re-defines size as the offset in bytes between successive instances of a type, as described in LLVM's [getTypeAllocSize](http://llvm.org/docs/doxygen/html/classllvm_1_1DataLayout.html#a1d6fcc02e91ba24510aba42660c90e29).

Fixes: #33266
2016-05-03 08:05:29 +05:30
..
2016-04-30 11:16:35 +02:00
2016-03-08 13:44:14 -08:00
2016-04-12 01:18:35 +02:00
2016-04-12 22:58:55 +09:00
2016-04-17 18:50:49 +02:00
2016-04-11 08:57:53 -07:00