diff --git a/build/xml_helpers.rs b/build/xml_helpers.rs index 840b71f..d4668d6 100644 --- a/build/xml_helpers.rs +++ b/build/xml_helpers.rs @@ -27,10 +27,10 @@ pub fn codes(element: &Element) -> Vec { if code_overrides.is_empty() { vec![code(element)] } else { - return code_overrides + code_overrides .split(',') .map(|c| c.parse::().unwrap()) - .collect::>(); + .collect::>() } }