mirror of https://github.com/rm-dr/daisy
Scope fix
parent
dd0f4387b6
commit
8076990a41
|
@ -164,7 +164,7 @@ fn write_freeunit_from_string(mut file: &File, units: &Vec<Value>) {
|
||||||
writeln!(file,
|
writeln!(file,
|
||||||
concat!(
|
concat!(
|
||||||
"#[inline(always)]\n",
|
"#[inline(always)]\n",
|
||||||
"fn freeunit_from_string(s: &str) -> Option<FreeUnit> {{\n",
|
"pub fn freeunit_from_string(s: &str) -> Option<FreeUnit> {{\n",
|
||||||
"\tmatch s {{"
|
"\tmatch s {{"
|
||||||
),
|
),
|
||||||
).unwrap();
|
).unwrap();
|
||||||
|
|
Loading…
Reference in New Issue