switched to Arc instead of Rc for input strings
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user