Closed nw0 closed 4 years ago
From my other pull request (#12), I noticed that the no_std tests were failing to run for BiBTreeMap.
no_std
To fix this, I've imported alloc guarded by cfg(test), allowing the unit tests to run.
cfg(test)
I've also modified a failing doctest in lib.rs, which required Ord to be implemented for Foo.
lib.rs
Ord
Foo
Oops, didn't realize the tests were broken 😬
From my other pull request (#12), I noticed that the
no_std
tests were failing to run for BiBTreeMap.To fix this, I've imported alloc guarded by
cfg(test)
, allowing the unit tests to run.I've also modified a failing doctest in
lib.rs
, which requiredOrd
to be implemented forFoo
.