diff options
| author | bors <bors@rust-lang.org> | 2019-07-25 18:45:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-07-25 18:45:42 +0000 |
| commit | 890881f8f4c77e8670d4b32104c0325fcfefc90f (patch) | |
| tree | 234d6f9b06ed04e6759da3a876f0f0fa281a9b70 /src/test/ui/array-slice-vec/destructure-array-1.rs | |
| parent | eedf6ce4ef54bb03818ab21d714f1b9f13a6b31c (diff) | |
| parent | abe3bdf257f50b583cd7dea91e33424f700fb0c2 (diff) | |
| download | rust-890881f8f4c77e8670d4b32104c0325fcfefc90f.tar.gz rust-890881f8f4c77e8670d4b32104c0325fcfefc90f.zip | |
Auto merge of #60340 - mgeier:cap-vs-capacity, r=alexcrichton
Rename .cap() methods to .capacity() As mentioned in #60316, there are a few `.cap()` methods, which seem out-of-place because such methods are called `.capacity()` in the rest of the code. This PR renames them to `.capacity()` but leaves `RawVec::cap()` in there for backwards compatibility. I didn't try to mark the old version as "deprecated", because I guess this would cause too much noise.
Diffstat (limited to 'src/test/ui/array-slice-vec/destructure-array-1.rs')
0 files changed, 0 insertions, 0 deletions
