Skip to content

Commit 6318df5

Browse files
committed
Add docs comment for FileDescription::read's ptr
1 parent 0018386 commit 6318df5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shims/unix/fd.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ 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.
2930
fn read<'tcx>(
3031
&self,
3132
_self_ref: &FileDescriptionRef,

0 commit comments

Comments
 (0)