From e0e14624392a0b9cba0db3aa78bf517f937a3dbf Mon Sep 17 00:00:00 2001 From: LU Jialin Date: Tue, 5 Sep 2023 15:16:02 +0800 Subject: [PATCH] fix typo in the to-bytes conversion (#2067) --- crates/typst-library/src/compute/construct.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/typst-library/src/compute/construct.rs b/crates/typst-library/src/compute/construct.rs index cee021bf6..6ea8bd826 100644 --- a/crates/typst-library/src/compute/construct.rs +++ b/crates/typst-library/src/compute/construct.rs @@ -743,7 +743,7 @@ pub fn regex( /// Category: construct #[func] pub fn bytes( - /// The value that should be converted to a string. + /// The value that should be converted to bytes. value: ToBytes, ) -> Bytes { value.0