Avril 5 years ago
parent 1f0880329a
commit f070e82434
Signed by: flanchan
GPG Key ID: 284488987C31F630

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

@ -33,7 +33,7 @@ The library also provides the `InitIter` type, which is a mutable iterator for `
let mut array = heap![String; 10];
for mut init in array.initialise()
{
init.set(format!("string!"));
init.put(format!("string!"));
// Also see docs for `init::Init` type.
}
drop(array); // This is now safe.

Loading…
Cancel
Save