arrayvec icon indicating copy to clipboard operation
arrayvec copied to clipboard

A vector with a fixed capacity. (Rust)

Results 90 arrayvec issues
Sort by recently updated
recently updated
newest added

It's currently not easily possible to create a parallel iterator from an `ArrayVec` that yields owned `T` values. I think this would be a very neat feature because it makes...

PTAL? Please see the individual commit descriptions for more details.

ArrayString has a ``remove()`` function, but no ``insert()``.

This PR adds a new error type representing an under-filled state for `ArrayVec::into_inner`. Previously, it would return `self` which is rather unconventional and prevents ergonomic error propagation (e.g. with `?`).

These functions are analogous to the conversion to/from Vec for String.

Just to run CI on my part. See main PR at #280.

Proposed new methods: ```rust impl ArrayVec { pub fn push_mut(&mut self, element: T) -> &mut T { /* … */ } pub fn try_push_mut(&mut self, element: T) -> Result {...

This PR introduces: * add `'_` lifetime to prevent newer compiler warnings * unsafe `from_raw_parts` functions for `ArrayVec` and `ArrayString` to allow users to workaround the current const-limitations introduced by...