fix typo...

master
Avril 5 years ago
parent a82e893f25
commit d95266f75f
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -1,7 +1,7 @@
[package]
name = "malloc-array"
description = "libc heap array allocator"
version = "1.2.2"
version = "1.2.3"
authors = ["Avril <flanchan@cumallover.me>"]
edition = "2018"
license = "GPL-3.0-or-later"

@ -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]:

Loading…
Cancel
Save