Skip to main content

prune

Function prune 

Source
fn prune(
    p: &mut Popups,
    opener: &str,
    exists: impl Fn(&str) -> bool,
) -> Vec<String>
Expand description

Drop opener’s closed popups (exists says whether a block is still there) and return the open ones.