Skip to content

Commit 4d72580

Browse files
committed
Auto merge of rust-lang#2211 - InfRandomness:typo, r=RalfJung
Fix typo
2 parents 4756be8 + 4758ce7 commit 4d72580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/env.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
381381
let target_os = &this.tcx.sess.target.os;
382382
assert!(
383383
target_os == "linux" || target_os == "macos",
384-
"`getcwd` is only available for the UNIX target family"
384+
"`chdir` is only available for the UNIX target family"
385385
);
386386

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

0 commit comments

Comments
 (0)