summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-10-29 14:59:22 +0100
committerGitHub <noreply@github.com>2024-10-29 13:59:22 +0000
commit2634a8402cdbd2443edf27abeb4ee6bafb70f5bd (patch)
tree68f4a20b6825666d7c431ffe56f2d8f9574ddf22 /crates
parent33a035ee0d9f12bc858e9a0cd37942eda1693798 (diff)
Fix type of plugin (#5321)
Diffstat (limited to 'crates')
-rw-r--r--crates/typst-library/src/foundations/value.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-library/src/foundations/value.rs b/crates/typst-library/src/foundations/value.rs
index fbfa5a0e..538b4f1b 100644
--- a/crates/typst-library/src/foundations/value.rs
+++ b/crates/typst-library/src/foundations/value.rs
@@ -147,7 +147,7 @@ impl Value {
Self::Args(_) => Type::of::<Args>(),
Self::Type(_) => Type::of::<Type>(),
Self::Module(_) => Type::of::<Module>(),
- Self::Plugin(_) => Type::of::<Module>(),
+ Self::Plugin(_) => Type::of::<Plugin>(),
Self::Dyn(v) => v.ty(),
}
}