File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ pub fn writeMapPrefix(writer: anytype, length: u32) !usize {
121121/// Wrapper to read value from a `std.io.GenericReader`.
122122///
123123/// The usage is almost same to the `fmt.Unpack`, but you
124- /// could not peek on this reader. Calling `ValueReader .next`
124+ /// could not peek on this reader. Calling `UnpackReader .next`
125125/// will read the supplied reader and return the header.
126126///
127127/// The `fmt.Unpack.raw` is replaced by `UnpackReader.rawReader` and
@@ -426,7 +426,7 @@ pub const ArrayReader = struct {
426426 /// the reader can no longer read.
427427 ///
428428 /// Errors:
429- /// - from `ValueReader .next`
429+ /// - from `UnpackReader .next`
430430 pub fn next (self : * ArrayReader , reader : anytype ) ! ? fmt.Header {
431431 if (self .current >= self .len ) {
432432 return null ;
You can’t perform that action at this time.
0 commit comments