Trait maelstrom_util::ext::BoolExt
source · pub trait BoolExt {
// Required methods
fn assert_is_true(self);
fn assert_is_false(self);
}
Expand description
An extension trait that is useful for working with std::collections::HashSet
s. A lot of
times we just want to assert whether or not something previously existed in the
std::collections::HashSet
. This provides a convenient way to do that.