2 Commits (d199903043b7d51bc34fff9000b76c8246757d3e)

Author SHA1 Message Date
Carsten Kragelund fdf7d1c8cf FIX(docs, tests): Fix empty doctests, and add docs
* Adds documentation to the `bst!` macro

* Changes the tree visualizations from `rust` blocks to just `text`, so
that `cargo doc` does not complain

* Runs `cargo fmt`
2 years ago
Carsten Kragelund 63a3190084 FEAT(macro): Add bst! macro that act like vec!
This macro uses the `IterativeBST` to create a new
tree with the given elements, either creating just
and empty tree with `IterativeBST::new()` or using
a combination of `IterativeBST::from_iter()` and
`vec![]` if given any elements
2 years ago