File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
246
246
}
247
247
// Store command line as UTF-16 for Windows `GetCommandLineW`.
248
248
{
249
- // Construct a command string with all the aguments .
249
+ // Construct a command string with all the arguments .
250
250
let cmd_utf16: Vec < u16 > = args_to_utf16_command_string ( config. args . iter ( ) ) ;
251
251
252
252
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>(
311
311
312
312
/// Evaluates the entry function specified by `entry_id`.
313
313
/// Returns `Some(return_code)` if program executed completed.
314
- /// Returns `None` if an evaluation error occured .
314
+ /// Returns `None` if an evaluation error occurred .
315
315
pub fn eval_entry < ' tcx > (
316
316
tcx : TyCtxt < ' tcx > ,
317
317
entry_id : DefId ,
You can’t perform that action at this time.
0 commit comments