commit 56d01a946413158e9968b849b704502033575feb Author: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Mon Dec 20 14:00:10 2021 +0100 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a99f24f --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/target +Cargo.lock +.idea +*.iml \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..a99e0a7 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "vechonk" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..d76b731 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,6 @@ +//! +//! A `Vec` +//! +//! It's implemented by laying out the elements in memory contiguously like `alloc::vec::Vec` + +struct Vechonk;