summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/loading/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-library/src/loading/mod.rs')
-rw-r--r--crates/typst-library/src/loading/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-library/src/loading/mod.rs b/crates/typst-library/src/loading/mod.rs
index 171ae651..c645b691 100644
--- a/crates/typst-library/src/loading/mod.rs
+++ b/crates/typst-library/src/loading/mod.rs
@@ -41,7 +41,7 @@ pub static DATA_LOADING: Category;
/// Hook up all `data-loading` definitions.
pub(super) fn define(global: &mut Scope) {
- global.category(DATA_LOADING);
+ global.start_category(DATA_LOADING);
global.define_func::<read>();
global.define_func::<csv>();
global.define_func::<json>();