summaryrefslogtreecommitdiff
path: root/library/src/compute
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-03 12:29:35 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-03 12:32:17 +0100
commit29b31c4a5ac4cde311c4d38b3d70130e7d27ba76 (patch)
treefe4e5dbd2166a69af90e69578ad4602725cdb63c /library/src/compute
parent54962e6dcd002fd27918827996155fd7dc4e1cff (diff)
New import syntax
Diffstat (limited to 'library/src/compute')
-rw-r--r--library/src/compute/foundations.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/compute/foundations.rs b/library/src/compute/foundations.rs
index 4e8b9d82..162ba8c4 100644
--- a/library/src/compute/foundations.rs
+++ b/library/src/compute/foundations.rs
@@ -113,5 +113,5 @@ pub fn eval(vm: &Vm, args: &mut Args) -> SourceResult<Value> {
let source = Source::synthesized(text, span);
let route = model::Route::default();
let module = model::eval(vm.world(), route.track(), &source)?;
- Ok(Value::Content(module.content))
+ Ok(Value::Content(module.content()))
}