Skip to content

Commit bb6d03f

Browse files
tiifRalfJung
andauthored
Update src/shims/unix/fd.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent 0363884 commit bb6d03f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/shims/unix/fd.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ pub trait FileDescription: std::fmt::Debug + Any {
2626
fn name(&self) -> &'static str;
2727

2828
/// Reads as much as possible into the given buffer, and returns the number of bytes read.
29-
/// `ptr` is the pointer to user supplied read buffer.
29+
/// `ptr` is the pointer to the user supplied read buffer.
30+
/// `len` indicates how many bytes the user requested.
31+
/// `dest` is where the return value should be stored.
3032
fn read<'tcx>(
3133
&self,
3234
_self_ref: &FileDescriptionRef,

0 commit comments

Comments
 (0)