Skip to content

Commit

Permalink
Auto merge of rust-lang#2211 - InfRandomness:typo, r=RalfJung
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
bors committed Jun 7, 2022
2 parents 4756be8 + 4758ce7 commit 4d72580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shims/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
let target_os = &this.tcx.sess.target.os;
assert!(
target_os == "linux" || target_os == "macos",
"`getcwd` is only available for the UNIX target family"
"`chdir` is only available for the UNIX target family"
);

let path = this.read_path_from_c_str(this.read_pointer(path_op)?)?;
Expand Down

0 comments on commit 4d72580

Please sign in to comment.