diff --git a/hive-c0re/src/tool_groups.rs b/hive-c0re/src/tool_groups.rs index 049f2e7b..77fdcd56 100644 --- a/hive-c0re/src/tool_groups.rs +++ b/hive-c0re/src/tool_groups.rs @@ -72,7 +72,7 @@ pub fn write(map: &BTreeMap>) -> std::io::Result<()> { /// Validate a slice of group name strings against `ToolGroup::ALL`. /// Returns `Ok(())` when all names are known, or `Err` listing the /// unrecognised names so callers can surface a useful error message. -pub fn validate_groups(groups: &[String]) -> anyhow::Result<()> { +fn validate_groups(groups: &[String]) -> anyhow::Result<()> { let valid: std::collections::BTreeSet<&str> = hive_sh4re::ToolGroup::ALL.iter().map(|g| g.as_str()).collect(); let unknown: Vec<&str> = groups