diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-08-21 15:40:52 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-08-21 15:40:52 +0200 |
| commit | 487fddb7cb614c649c7e0fbd61cefbd6f263fd65 (patch) | |
| tree | 961e42503b1af4075e83a13cae16f639b8c1b437 | |
| parent | d52493938e9b070ca593246427c384c500c5c13e (diff) | |
Fix a few typos
| -rw-r--r-- | crates/typst-library/src/compute/construct.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/typst-library/src/compute/construct.rs b/crates/typst-library/src/compute/construct.rs index d3dc45c3..59a867a7 100644 --- a/crates/typst-library/src/compute/construct.rs +++ b/crates/typst-library/src/compute/construct.rs @@ -833,7 +833,7 @@ pub fn range( /// Loads a WebAssembly plugin. /// -/// This is **advanced functionality** and not be confused with +/// This is **advanced functionality** and not to be confused with /// [Typst packages]($scripting/#packages). /// /// Typst is capable of interfacing with plugins compiled to WebAssembly. Plugin @@ -866,7 +866,7 @@ pub fn range( /// /// ## Protocol { #protocol } /// To be used as a plugin, a WebAssembly module must conform to the following -/// protocol +/// protocol: /// /// ### Exports { #exports } /// A plugin module can export functions to make them callable from Typst. To @@ -883,7 +883,7 @@ pub fn range( /// - The `a_1` first bytes of the buffer now constitute the first argument, the /// `a_2` next bytes the second argument, and so on. /// -/// - The function can now do its job with the argument and produce an output +/// - The function can now do its job with the arguments and produce an output /// buffer. Before returning, it should call /// `wasm_minimal_protocol_send_result_to_host` to send its result back to the /// host. |
