diff --git a/includes/std/ptr.pat b/includes/std/ptr.pat index 22d4b1d..a1fbeb7 100644 --- a/includes/std/ptr.pat +++ b/includes/std/ptr.pat @@ -47,9 +47,9 @@ namespace auto std::ptr { Example: A struct field called `p_myInfo` which is a nullable 64-bit pointer to an element of type `MyInfoTy` would be written as: - ``` + ```rust struct MyStruct { - std::ptr::NullablePtr p_myInfo; + std::ptr::NullablePtr p_myInfo; } ``` */ diff --git a/includes/type/magic.pat b/includes/type/magic.pat index d8a2451..64b8517 100644 --- a/includes/type/magic.pat +++ b/includes/type/magic.pat @@ -11,7 +11,7 @@ namespace auto type { /** - Escapes all bytes in a string to only contain printable characters. All non-printable bytes will be transformed to sequences in the form form \xFF + Escapes all bytes in a string to only contain printable characters. All non-printable bytes will be transformed to sequences in the \xFF form @param value Byte array to escape @return Escaped string */