bluss
|
a17c764f98
|
impl clone_from for ArrayVec and ArrayString
|
2016-02-06 15:22:27 +01:00 |
|
bluss
|
9fdb7dd631
|
Fixup indentation
|
2016-02-06 00:59:37 +01:00 |
|
Alexander Regueiro
|
0a413975f5
|
Re-added accidentally removed test method.
Also fixed indentation.
|
2016-02-05 22:56:44 +00:00 |
|
Alexander Regueiro
|
9845491060
|
Added ArrayString::from constructor that takes string slice.
Also added corresponding test.
|
2016-02-05 22:30:24 +00:00 |
|
bluss
|
62d372ce1f
|
Add DerefMut for ArrayString
|
2016-01-13 13:01:13 +01:00 |
|
bluss
|
d991c17a25
|
ArrayString::push_str: Write capacity check in safer style
Use an arithmetic overflow safe conditional.
|
2015-12-29 12:12:42 +01:00 |
|
bluss
|
7b47f1e891
|
Use no public fields for CapacityError
|
2015-09-18 01:00:55 +02:00 |
|
bluss
|
6af588cb2c
|
ArrayString: Add PartialEq, Eq, Hash, and tests
|
2015-09-18 00:52:17 +02:00 |
|
Tobias Bucher
|
6a8fdfdedb
|
Make push and push_str return Results
The error type is called `CapacityError` and lets you extract the pushed
element.
|
2015-09-13 12:52:16 +01:00 |
|
bluss
|
10aa8245d8
|
ArrayString: Make Copy, don't use ArrayVec
|
2015-09-12 14:36:53 +02:00 |
|
Tobias Bucher
|
078dbf4b15
|
Move ArrayVec back into the main file
|
2015-09-12 13:22:30 +01:00 |
|
Tobias Bucher
|
4977da3502
|
Add ArrayString, which is to ArrayVec what String is to Vec
|
2015-09-11 14:45:09 +01:00 |
|