From 8076990a412b5d7f0576ce1f31587363f87b10e7 Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 3 Aug 2023 22:05:55 -0700 Subject: [PATCH] Scope fix --- buildscript/units.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();