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> {
645
645
Ok ( ( ) )
646
646
}
647
647
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.
650
649
fn read_byte_helper (
651
650
& mut self ,
652
651
buf : Pointer ,
@@ -678,6 +677,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
678
677
}
679
678
}
680
679
680
+ /// This function either writes the number of written bytes to dest place or return error.
681
681
fn write_byte_helper (
682
682
& mut self ,
683
683
result : io:: Result < usize > ,
You can’t perform that action at this time.
0 commit comments