]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #34989 - frewsxcv:fix-set-len-doc-example, r=nagisa
authorManish Goregaokar <manishsmail@gmail.com>
Sun, 24 Jul 2016 09:48:48 +0000 (15:18 +0530)
committerGitHub <noreply@github.com>
Sun, 24 Jul 2016 09:48:48 +0000 (15:18 +0530)
Fix incorrect 'memory leak' example for `Vec::set_len`.

Example was written in https://github.com/rust-lang/rust/pull/34911

Issue was brought up in this comment:

https://github.com/rust-lang/rust/commit/a005b2cd2ac679da7393e537aa05e2b7d32d36d5#commitcomment-18346958


Trivial merge