Add tree! macro

Add the tree! macro to simplify creation of node trees.

let root: Node<u32> = tree!(
    arena,
    1 => [
        2,
        3 => [4, 5],
        6 => [
            7 => [8 => []],
            9 => [10 => [11]]],
        12
    ]
);

Merge request reports

Loading