mirror of
https://github.com/rm-dr/daisy
synced 2025-12-15 16:22:47 -08:00
Cleaned up context argument
This commit is contained in:
@@ -10,7 +10,7 @@ fn eval_to_str(s: &str) -> Result<String, ()> {
|
||||
};
|
||||
//let out_str = g.print();
|
||||
|
||||
return match evaluate(&g, &mut Context::new()) {
|
||||
return match evaluate(&mut Context::new(), &g) {
|
||||
Ok(x) => Ok(x.to_string_outer()),
|
||||
Err(_) => Err(())
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user