Skip to content

Commit 750c959

Browse files
committed
Add comment for function
1 parent 805f35a commit 750c959

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/shims/unix/fd.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,8 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
627627
Ok(())
628628
}
629629

630+
/// This function write bytes to the user supplied buffer and write the total number of bytes
631+
/// written to the dest place. (TODO: fix phrasing later, this function might change)
630632
fn read_byte_helper(
631633
&mut self,
632634
buf: Pointer,

0 commit comments

Comments
 (0)