Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 66f6fa6

Browse files
committed
Fix typo in eval.rs
1 parent 44dc49f commit 66f6fa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/eval.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
246246
}
247247
// Store command line as UTF-16 for Windows `GetCommandLineW`.
248248
{
249-
// Construct a command string with all the aguments.
249+
// Construct a command string with all the arguments.
250250
let cmd_utf16: Vec<u16> = args_to_utf16_command_string(config.args.iter());
251251

252252
let cmd_type = tcx.mk_array(tcx.types.u16, u64::try_from(cmd_utf16.len()).unwrap());
@@ -311,7 +311,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
311311

312312
/// Evaluates the entry function specified by `entry_id`.
313313
/// Returns `Some(return_code)` if program executed completed.
314-
/// Returns `None` if an evaluation error occured.
314+
/// Returns `None` if an evaluation error occurred.
315315
pub fn eval_entry<'tcx>(
316316
tcx: TyCtxt<'tcx>,
317317
entry_id: DefId,

0 commit comments

Comments
 (0)