Module lib::assert_set::assert_set_disjoint
source · Expand description
Assert a set is disjoint with another.
§Example
let a = [1, 2];
let b = [3, 4];
assert_set_disjoint!(&a, &b);This implementation uses std::collections::BTreeSet to count items and sort them.