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