v0.15.0
Language
-
Allow generic parameters to be passed to closures.
fn a<T>() { let _b = || b::<T>(); } fn b<T>() {}
-
Add new array initialization syntax.
let b = [99; 10]; // Used to initialize an array of length 10, with each element having the value 99
-
Add new Bytes initialization syntax.
use std.io.Bytes; let b: Bytes = [1, 2, 3, 4, 5];
Tools
- Add
nvs
command.
Stdlib
- Add
std.worker
module. - Add
WorkerPool
type that can be created withstd.worker.Worker.pool
method.