mirror of https://github.com/stelzo/typst.git
fix typo in the to-bytes conversion (#2067)
This commit is contained in:
parent
2f672b4e2e
commit
e0e1462439
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue