readme: minor

This commit is contained in:
Antonis Geralis 2022-09-08 16:13:09 +03:00
parent de1e780dbf
commit 89defc4ab3
1 changed files with 2 additions and 2 deletions

View File

@ -146,8 +146,8 @@ proc toData(data: var openArray[byte]; pos: var int; input: T)
proc byteSize(x: T): int {.inline.} ## The size that will be consumed by the serialized type in bytes. proc byteSize(x: T): int {.inline.} ## The size that will be consumed by the serialized type in bytes.
``` ```
This is only necessary for destructor-based types. `mutate`, `default` and `==` must also be defined. This is only necessary for objects that contain raw pointers. `mutate`, `default` and `==`
`drchaos/common` exports read/write procs that assist with this task. must also be defined. `drchaos/common` exports read/write procs that assist with this task.
### Dos and don'ts ### Dos and don'ts