diff options
| author | tgschultz <tgschultz@gmail.com> | 2018-12-09 20:59:51 -0600 |
|---|---|---|
| committer | tgschultz <tgschultz@gmail.com> | 2018-12-09 20:59:51 -0600 |
| commit | 1a8570403f070933842db7739e7139779b7e04a5 (patch) | |
| tree | f5ee15f6f143d108b4f1803166a16c8757badbc1 | |
| parent | 1188da926ff4cddd5818d85d45b087f6207dfef9 (diff) | |
| download | zig-1a8570403f070933842db7739e7139779b7e04a5.tar.gz zig-1a8570403f070933842db7739e7139779b7e04a5.zip | |
Minor doc-comment fix.
| -rw-r--r-- | std/io.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/io.zig b/std/io.zig index c397ff6ede..7184787b29 100644 --- a/std/io.zig +++ b/std/io.zig @@ -1243,7 +1243,7 @@ pub fn Deserializer(endian: builtin.Endian, is_packed: bool, comptime Error: typ /// endianess, after which data will resume being written at the next byte boundary. /// Types may implement a custom serialization routine with a /// function named `serialize` in the form of: -/// pub fn serialize(self: *const Self, serializer: var) !void +/// pub fn serialize(self: Self, serializer: var) !void /// which will be called when the serializer is used to serialize that type. It will /// pass a const pointer to the type instance to be serialized and a pointer /// to the serializer struct. |
