Commit Graph

17 Commits

Author SHA1 Message Date
mental 59257ad80f Account for heap capacity in capacity unit test 2020-01-19 05:07:35 +00:00
mental dd802b30fa Account for heap allocated capacities. 2020-01-19 04:57:34 +00:00
Andreas Molzer fd28ecb105 Test and fix removal at past-the-end index 2020-01-18 13:24:58 +01:00
Lokathor b2c3141a6a more docs, more renames, closer to being good. 2020-01-13 21:34:22 -07:00
Lokathor c74c1e3785 rename arrayish to array I guess
The "ish" part was always supposed to be temporary.
2020-01-13 21:12:04 -07:00
Lokathor 50b84c54b1 docs and rename the feature to alloc
Closes https://github.com/Lokathor/tinyvec/issues/18
We could discuss the "goals" section more of course, but for now it's enough to call that issue closed.
2020-01-13 19:55:38 -07:00
Lokathor bc20225012 Merge pull request #16 from Nemo157/fix-resize
Fix TinyVec::resize across inline/heap boundary
2020-01-13 18:49:19 -07:00
Wim Looman 2049895f28 Fix TinyVec::resize across inline/heap boundary 2020-01-13 20:21:46 +01:00
Wim Looman cc6b7d4b46 Fix ArrayishVec::swap_remove for last element 2020-01-13 19:42:49 +01:00
Wim Looman 18300412ff Fix TinyVec::drain implementation 2020-01-12 14:07:19 +01:00
Wim Looman 5567e85dc7 Fix ArrayishVec::drain implementation
The end bound was off by one
2020-01-12 13:54:35 +01:00
Lokathor 56cdcb1d7e we're calling the ArrayishVec done for now I think 2020-01-09 22:17:14 -07:00
Lokathor e50dfd5a5a append 2020-01-09 00:39:34 -07:00
Lokathor 7e47b7132d Partial work on ArrayishVec 2020-01-07 23:10:38 -07:00
Lokathor c8bd5cc2b2 Try to adopt 1.24 as the CI version
This would allow our crate to be used as a dependency of the `unicode-segmentation` crate.
2020-01-06 20:28:09 -07:00
Lokathor c063024184 add truncate method and tests based on the Vec examples 2020-01-06 20:05:08 -07:00
Lokathor 76058032f5 base files 2020-01-06 19:29:40 -07:00