summaryrefslogtreecommitdiff
path: root/src/library/structure
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-10-18 00:02:38 +0200
committerLaurenz <laurmaedje@gmail.com>2022-10-18 00:04:12 +0200
commitc0e972b91a7bf8d22cd24a38fc92a9c6214c8a0c (patch)
tree19362eb993f15ef1b9bceeac821852bb6edfe955 /src/library/structure
parente21822665591dc19766275da1e185215a6b945ef (diff)
Reduce dependencies from compiler on library
Diffstat (limited to 'src/library/structure')
-rw-r--r--src/library/structure/list.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/structure/list.rs b/src/library/structure/list.rs
index 7a43e5db..9d78238d 100644
--- a/src/library/structure/list.rs
+++ b/src/library/structure/list.rs
@@ -328,7 +328,7 @@ impl Label {
Self::Content(content) => content.clone(),
Self::Func(func, span) => {
let args = Args::new(*span, [Value::Int(number as i64)]);
- func.call_detached(world, args)?.display()
+ func.call_detached(world, args)?.display(world)
}
})
}