From bdba08664ef5203aeff7137dded8e07e77629b5d Mon Sep 17 00:00:00 2001 From: Avril Date: Sat, 27 Mar 2021 01:02:58 +0000 Subject: [PATCH] update README --- Cargo.toml | 2 +- README.md | 2 +- src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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;