diff --git a/buildscript/units.rs b/buildscript/units.rs index d8552cb..bde79bd 100644 --- a/buildscript/units.rs +++ b/buildscript/units.rs @@ -164,7 +164,7 @@ fn write_freeunit_from_string(mut file: &File, units: &Vec) { writeln!(file, concat!( "#[inline(always)]\n", - "fn freeunit_from_string(s: &str) -> Option {{\n", + "pub fn freeunit_from_string(s: &str) -> Option {{\n", "\tmatch s {{" ), ).unwrap();