mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
Require Send
and Sync
for worlds (#4219)
This commit is contained in:
parent
a52987a8c2
commit
e715def088
@ -191,7 +191,7 @@ fn deduplicate(mut diags: EcoVec<SourceDiagnostic>) -> EcoVec<SourceDiagnostic>
|
||||
/// [edit](Source::edit) them in-place to benefit from better incremental
|
||||
/// performance.
|
||||
#[comemo::track]
|
||||
pub trait World {
|
||||
pub trait World: Send + Sync {
|
||||
/// The standard library.
|
||||
///
|
||||
/// Can be created through `Library::build()`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user