]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #40379 - clarcharr:box_docs, r=brson
authorAlex Crichton <alex@alexcrichton.com>
Fri, 10 Mar 2017 22:51:40 +0000 (16:51 -0600)
committerAlex Crichton <alex@alexcrichton.com>
Sat, 11 Mar 2017 04:04:58 +0000 (20:04 -0800)
commit8f02dc290a4fc2f6df14731a03aae685173a4cbf
tree92d23e1cec9e854becd5b8241b92903c22463a21
parent2b1d1bbf2abf2aac43f1eaa426f5597ea6a8bc4d
parentedf5dc66c1ec243bb2a60385b094cde719c0a492
Rollup merge of #40379 - clarcharr:box_docs, r=brson

Box docs: no allocation is done for ZSTs.

Updated to add a small bit saying that ZSTs don't actually allocate on `Box::new`.