From bcab77052422baaa29b57b62f14a19af8cc87225 Mon Sep 17 00:00:00 2001 From: Kevin K Date: Wed, 30 Aug 2023 17:31:30 +0200 Subject: [PATCH] Fix typo in docs of `decode` method for image (#2046) --- crates/typst-library/src/visualize/image.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/typst-library/src/visualize/image.rs b/crates/typst-library/src/visualize/image.rs index 5e6ac2d24..a5c8eae48 100644 --- a/crates/typst-library/src/visualize/image.rs +++ b/crates/typst-library/src/visualize/image.rs @@ -73,7 +73,7 @@ pub struct ImageElem { pub fit: ImageFit, } -/// Decode a raster of vector graphic from bytes or a string. +/// Decode a raster or vector graphic from bytes or a string. /// /// ## Example { #example } /// ```example