switched to Arc instead of Rc for input strings

This commit is contained in:
2025-03-23 17:37:15 -04:00
parent 8fffe1cd71
commit 32ec62b52f
15 changed files with 61 additions and 70 deletions

View File

@@ -120,7 +120,7 @@ impl Dispatcher {
)
}
let mut func_parser = ParsedSrc::new(Rc::new(body));
let mut func_parser = ParsedSrc::new(Arc::new(body));
func_parser.parse_src()?; // Parse the function
let func = ShFunc::new(func_parser);