Skip to content

Commit 004a460

Browse files
committed
Auto merge of rust-lang#2640 - Rageking8:fix-dupe-word-typos, r=saethlin
Fix dupe word typos
2 parents 6d1dfa5 + 2bf7c91 commit 004a460

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cargo-miri/src/phases.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ pub fn phase_runner(mut binary_args: impl Iterator<Item = String>, phase: Runner
528528
cmd.args(binary_args);
529529

530530
// Make sure we use the build-time working directory for interpreting Miri/rustc arguments.
531-
// But then we need to switch to the run-time one, which we instruct Miri do do by setting `MIRI_CWD`.
531+
// But then we need to switch to the run-time one, which we instruct Miri do by setting `MIRI_CWD`.
532532
cmd.current_dir(info.current_dir);
533533
cmd.env("MIRI_CWD", env::current_dir().unwrap());
534534

src/stacked_borrows/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ pub fn err_sb_ub<'tcx>(
252252
/// We need to make at least the following things true:
253253
///
254254
/// U1: After creating a `Uniq`, it is at the top.
255-
/// U2: If the top is `Uniq`, accesses must be through that `Uniq` or remove it it.
255+
/// U2: If the top is `Uniq`, accesses must be through that `Uniq` or remove it.
256256
/// U3: If an access happens with a `Uniq`, it requires the `Uniq` to be in the stack.
257257
///
258258
/// F1: After creating a `&`, the parts outside `UnsafeCell` have our `SharedReadOnly` on top.

0 commit comments

Comments
 (0)