From d95266f75f21c82ed3d74f8bb6a8f262f4b296b9 Mon Sep 17 00:00:00 2001 From: Avril Date: Thu, 11 Jun 2020 17:56:40 +0100 Subject: [PATCH] fix typo... --- Cargo.toml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 09c3b85..530a449 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "malloc-array" description = "libc heap array allocator" -version = "1.2.2" +version = "1.2.3" authors = ["Avril "] edition = "2018" license = "GPL-3.0-or-later" diff --git a/README.md b/README.md index 8a282a8..1a8fe88 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ See [documentation] for more details. ### Creating zero-initialised arrays. These are created with `calloc()`. ``` rust -heap![Type, size]; +heap![Type; size]; ``` Note that if `Type` does not support zero-initialisation it is undefined behaviour to drop or access any element of the returned array. To assign without dropping see the associated function [replace_and_forget]: