summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/visualize/image.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-library/src/visualize/image.rs')
-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) {