diff options
| author | LU Jialin <luxxxlucy@gmail.com> | 2023-09-05 15:16:02 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-05 09:16:02 +0200 |
| commit | e0e14624392a0b9cba0db3aa78bf517f937a3dbf (patch) | |
| tree | b3fbf02cd96abfd47761a1e971bd83cb9505cc8b | |
| parent | 2f672b4e2ebb040896c7a6af5104f72b075565e0 (diff) | |
fix typo in the to-bytes conversion (#2067)
| -rw-r--r-- | crates/typst-library/src/compute/construct.rs | 2 |
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 |
