nautilus_core::correctness

Function check_member_in_set

Source
pub fn check_member_in_set<V>(
    member: &V,
    set: &HashSet<V>,
    member_name: &str,
    set_name: &str,
) -> Result<()>
where V: Hash + Eq + Display,
Expand description

Checks the member is in the set.