fix typo in the to-bytes conversion (#2067)

This commit is contained in:
LU Jialin 2023-09-05 15:16:02 +08:00 committed by GitHub
parent 2f672b4e2e
commit e0e1462439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -743,7 +743,7 @@ pub fn regex(
/// Category: construct /// Category: construct
#[func] #[func]
pub fn bytes( pub fn bytes(
/// The value that should be converted to a string. /// The value that should be converted to bytes.
value: ToBytes, value: ToBytes,
) -> Bytes { ) -> Bytes {
value.0 value.0