Skip to content

Commit 3c28e30

Browse files
authored
typo
1 parent fd7c2d0 commit 3c28e30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/foreign_items.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
769769
// We use `read_c_str` to determine the amount of data to copy,
770770
// and then use `mem_copy` for the actual copy. This means
771771
// pointer provenance is preserved by this implementation of `strcpy`.
772-
// That is properly overly cautious, but there also is no fundamental
772+
// That is probably overly cautious, but there also is no fundamental
773773
// reason to have `strcpy` destroy pointer provenance.
774774
let n = this.read_c_str(ptr_src)?.len().checked_add(1).unwrap();
775775
this.mem_copy(

0 commit comments

Comments
 (0)