]> git.lizzy.rs Git - rust.git/commitdiff
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)
Box docs: no allocation is done for ZSTs.

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


Trivial merge