diff --git a/Cargo.toml b/Cargo.toml index 4539db4..4fa2552 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stackalloc" -version = "1.0.0" +version = "1.0.1" homepage = "https://git.flanchan.moe/flanchan/stackalloc-rs" repository = "https://github.com/notflan/stackalloc-rs" keywords = ["alloca", "stack", "stack-allocation", "safe"] diff --git a/README.md b/README.md index a380e4e..3ed07ec 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ stackalloc_with(5, || vec![String::from("string"); 10], |slice| { assert_eq!(&slice[0][0][..], "string"); }); // The slice's elements will be dropped here ``` -# `MaybeUninit` +## `MaybeUninit` You can get the aligned stack memory directly with no initialisation. ```rust stackalloc_uninit(5, |slice| { diff --git a/src/lib.rs b/src/lib.rs index 991581a..cdca58b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -46,7 +46,7 @@ //! }); // The slice's elements will be dropped here //! # } //! ``` -//! # `MaybeUninit` +//! ## `MaybeUninit` //! You can get the aligned stack memory directly with no initialisation. //! ``` //! # use stackalloc::stackalloc_uninit;