rust/src/libcollections
Felix S. Klock II e7c986105f Fixes to collections to accommodate arith-overflow changes.
* `collections::btree::node`: accommodate (transient) underflow.

* `collections::btree::map`: avoid underflow during `fn next`
  for `BTreeMap::range` methods.

* `collections::slice`: note that pnkfelix deliberately used
  `new_pos_wrapping` only once; the other cases of arithmetic do not
  over- nor underflow, which is a useful property to leave implicitly
  checked/documented via the remaining calls to `fn new_pos(..)`.

* `collections::vec_deque` applied wrapping ops (somewhat blindly)
  to two implementation methods, and many tests.

* `std::collections:#️⃣:table` : Use `OverflowingOps` trait to
  track overflow during `calculate_offsets` and `calculate_allocation`
  functions.
2015-03-03 12:10:20 +01:00
..
btree Fixes to collections to accommodate arith-overflow changes. 2015-03-03 12:10:20 +01:00
bench.rs Test fixes and rebase conflicts 2015-02-11 15:05:39 -08:00
binary_heap.rs Use arrays instead of vectors in tests 2015-02-24 21:15:45 +03:00
bit.rs Add core::num::wrapping and fix overflow errors. 2015-03-03 12:10:19 +01:00
borrow.rs Change int to i32 in Cow example. 2015-02-22 20:31:12 -05:00
enum_set.rs core: Audit num module for int/uint 2015-03-02 16:12:46 -08:00
fmt.rs Addresses rust-lang/rust#22646 2015-03-01 14:11:12 +02:00
lib.rs std: Stabilize some ptr functions 2015-02-24 14:22:33 -08:00
linked_list.rs Send/Sync audit for libcollections 2015-02-26 15:43:40 +08:00
macros.rs Use arrays instead of vectors in tests 2015-02-24 21:15:45 +03:00
slice.rs Fixes to collections to accommodate arith-overflow changes. 2015-03-03 12:10:20 +01:00
str.rs Fix incorrectly parsed markdown link 2015-02-28 14:05:50 -05:00
string.rs Rollup merge of #22729 - alexcrichton:ptr-stabilization, r=aturon 2015-02-25 10:29:46 +05:30
vec.rs Auto merge of #22669 - dotdash:fast_slice_iter, r=huonw 2015-02-28 03:37:20 +00:00
vec_deque.rs Fixes to collections to accommodate arith-overflow changes. 2015-03-03 12:10:20 +01:00
vec_map.rs Rollup merge of #22157 - tbu-:pr_debug_collections, r=alexcrichton 2015-02-25 10:29:23 +05:30