mirror of
https://github.com/rm-dr/daisy
synced 2025-04-03 03:47:56 -07:00
Scope fix
This commit is contained in:
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…
x
Reference in New Issue
Block a user