Skip to content

Commit a28fbd4

Browse files
davidhewittlqd
andauthored
Correct typo in src/librustc_mir/const_eval.rs
Co-Authored-By: lqd <[email protected]>
1 parent 5398139 commit a28fbd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/const_eval.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ fn eval_body_using_ecx<'mir, 'tcx>(
148148
trace!("eval_body_using_ecx: pushing stack frame for global: {}{}", name, prom);
149149

150150
// Assert all args (if any) are zero-sized types; `eval_body_using_ecx` doesn't
151-
// make sense if the body is expecting nontrival arguments.
151+
// make sense if the body is expecting nontrivial arguments.
152152
// (The alternative would be to use `eval_fn_call` with an args slice.)
153153
for arg in body.args_iter() {
154154
let decl = body.local_decls.get(arg).expect("arg missing from local_decls");

0 commit comments

Comments
 (0)