rust/src/liballoc
bors 890881f8f4 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.
2019-07-25 18:45:42 +00:00
..
benches improve worst-case performance of BTreeSet difference and intersection 2019-03-29 12:18:20 +01:00
collections Auto merge of #60340 - mgeier:cap-vs-capacity, r=alexcrichton 2019-07-25 18:45:42 +00:00
prelude Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait 2019-07-05 11:49:30 +02:00
tests Auto merge of #61953 - Centril:shared-from-iter, r=RalfJung 2019-07-13 06:49:02 +00:00
alloc.rs Switch master to 1.38 2019-07-04 11:26:57 -04:00
borrow.rs warn(missing_docs) in liballoc, and add missing docs 2019-04-15 16:35:50 +02:00
boxed.rs Add tracking issue for Box::into_pin 2019-07-04 12:57:34 +02:00
Cargo.toml Update the compiler_builtins crate 2019-05-17 07:17:15 -07:00
fmt.rs Make clear that format padding doesn't work for Debug 2019-04-13 15:39:49 +10:00
lib.rs use a const to hack around promotion limitations 2019-07-21 12:28:18 +02:00
macros.rs Hygienize macros in the standard library 2019-06-12 20:27:29 +03:00
raw_vec.rs Auto merge of #60340 - mgeier:cap-vs-capacity, r=alexcrichton 2019-07-25 18:45:42 +00:00
rc.rs Auto merge of #61953 - Centril:shared-from-iter, r=RalfJung 2019-07-13 06:49:02 +00:00
slice.rs Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait 2019-07-05 11:49:30 +02:00
str.rs Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait 2019-07-05 11:49:30 +02:00
string.rs Rollup merge of #62123 - jeremystucki:needless_lifetimes_std, r=alexcrichton 2019-07-05 13:52:58 +02:00
sync.rs Auto merge of #61953 - Centril:shared-from-iter, r=RalfJung 2019-07-13 06:49:02 +00:00
tests.rs Separate liballoc module 2019-06-16 13:08:09 +03:00
vec.rs Auto merge of #60340 - mgeier:cap-vs-capacity, r=alexcrichton 2019-07-25 18:45:42 +00:00