summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/visualize
diff options
context:
space:
mode:
authorFritz Rehde <fritzrehde.work@gmail.com>2023-10-30 23:25:28 +0100
committerGitHub <noreply@github.com>2023-10-30 23:25:28 +0100
commitc3114fa380d80e7268e14d631b08511b2ebf58ec (patch)
treea0c4faba3a8dc8aa131d30d8eaba703da39c017e /crates/typst-library/src/visualize
parenta5d72c2ac16a2608d140ac0b6d5f388b7c4ae411 (diff)
Fixed typos (#2524)
Diffstat (limited to 'crates/typst-library/src/visualize')
-rw-r--r--crates/typst-library/src/visualize/image.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-library/src/visualize/image.rs b/crates/typst-library/src/visualize/image.rs
index 05a9c352..931e38c6 100644
--- a/crates/typst-library/src/visualize/image.rs
+++ b/crates/typst-library/src/visualize/image.rs
@@ -128,7 +128,7 @@ impl Layout for ImageElem {
styles: StyleChain,
regions: Regions,
) -> SourceResult<Fragment> {
- // Take the format that was explicitly defined, or parse the extention,
+ // Take the format that was explicitly defined, or parse the extension,
// or try to detect the format.
let data = self.data();
let format = match self.format(styles) {