Skip to main content

normalize_scope

Function normalize_scope 

Source
pub fn normalize_scope(namespaces: &[String]) -> Vec<String>
Expand description

Normalize a namespace list for Recommendation::scope: trimmed, non-empty, deduplicated, sorted — so two passes over the same set stamp the same scope and the coverage check is order-independent.