mirror of https://github.com/stelzo/typst.git
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…
Reference in New Issue