diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-05-22 12:30:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-22 10:30:05 +0000 |
| commit | e715def088c7a560b283a8cf98ebc4be14a0dc59 (patch) | |
| tree | 3efec1374afe733c016761a1fb76524af7968b34 | |
| parent | a52987a8c26bc13e3db4cc300b8cd9d81eb8a18d (diff) | |
Require `Send` and `Sync` for worlds (#4219)
| -rw-r--r-- | crates/typst/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst/src/lib.rs b/crates/typst/src/lib.rs index aad474a1..e17d9346 100644 --- a/crates/typst/src/lib.rs +++ b/crates/typst/src/lib.rs @@ -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()`. |
