Skip to content

Commit 2734395

Browse files
committed
Add comment for function
1 parent 0b66595 commit 2734395

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
@@ -626,6 +626,8 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
626626
Ok(())
627627
}
628628

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

0 commit comments

Comments
 (0)