summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst-library/src/compute/construct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-library/src/compute/construct.rs b/crates/typst-library/src/compute/construct.rs
index cee021bf..6ea8bd82 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