about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tvix/nix-compat/src/wire/bytes/reader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/wire/bytes/reader.rs b/tvix/nix-compat/src/wire/bytes/reader.rs
index c36729c6142b..9aea677645e7 100644
--- a/tvix/nix-compat/src/wire/bytes/reader.rs
+++ b/tvix/nix-compat/src/wire/bytes/reader.rs
@@ -96,7 +96,7 @@ where
                 }
                 BytesPacketPosition::Size(pos) => {
                     // try to read more of the size field.
-                    // We wrap a BufRead around this.payload_size here, and set_filled.
+                    // We wrap a ReadBuf around this.payload_size here, and set_filled.
                     let mut read_buf = tokio::io::ReadBuf::new(this.payload_size);
                     read_buf.advance(pos);
                     ready!(this.inner.as_mut().poll_read(cx, &mut read_buf))?;