File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -645,8 +645,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
645645 Ok ( ( ) )
646646 }
647647
648- /// This function write bytes to the user supplied buffer and write the total number of bytes
649- /// written to the dest place. (TODO: fix phrasing later, this function might change)
648+ /// This function either writes to the user supplied buffer and to dest place, or return error.
650649 fn read_byte_helper (
651650 & mut self ,
652651 buf : Pointer ,
@@ -678,6 +677,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
678677 }
679678 }
680679
680+ /// This function either writes the number of written bytes to dest place or return error.
681681 fn write_byte_helper (
682682 & mut self ,
683683 result : io:: Result < usize > ,
You can’t perform that action at this time.
0 commit comments