aboutsummaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authortgschultz <tgschultz@gmail.com>2018-12-09 20:59:51 -0600
committertgschultz <tgschultz@gmail.com>2018-12-09 20:59:51 -0600
commit1a8570403f070933842db7739e7139779b7e04a5 (patch)
treef5ee15f6f143d108b4f1803166a16c8757badbc1 /std
parent1188da926ff4cddd5818d85d45b087f6207dfef9 (diff)
downloadzig-1a8570403f070933842db7739e7139779b7e04a5.tar.gz
zig-1a8570403f070933842db7739e7139779b7e04a5.zip
Minor doc-comment fix.
Diffstat (limited to 'std')
-rw-r--r--std/io.zig2
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.