Skip to content

Commit

Permalink
Rename & add methods
Browse files Browse the repository at this point in the history
Some people pointed out on the Pre-RFC that the methods should be renamed since the implementation is fairly different to what the name was suggesting. Also thanks to that feedback, I added more methods to fit more specific needs & avoid `memcpy()`s. Now there are unit tests because I was tired of copy-pasting into the playground.
  • Loading branch information
Alonely0 committed Jul 22, 2022
1 parent a5cb9f6 commit 863fda3
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 59 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "array_manipulation"
description = "Methods for manipuling arrays in a Vec-like fashion. It will (probably) get into core once const expressions get less experimental."
version = "0.2.0"
version = "0.3.0"
edition = "2021"
authors = ["Guillem Jara <4lon3ly0@tutanota.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# Manipulate Arrays as if they were vectors!

This crate exposes a trait that allows manipulating arrays in a vec-like fashion.
This crate exposes 2 traits that allow manipulating arrays in a vec-like fashion.

Alternatives like [ArrayVec](https://docs.rs/arrayvec/latest/arrayvec/struct.ArrayVec.html) operate over a `[MaybeUninit<T>; N]`-like data structure and panic if the size is overflown.

Expand Down

0 comments on commit 863fda3

Please sign in to comment.