We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5398139 commit a28fbd4Copy full SHA for a28fbd4
src/librustc_mir/const_eval.rs
@@ -148,7 +148,7 @@ fn eval_body_using_ecx<'mir, 'tcx>(
148
trace!("eval_body_using_ecx: pushing stack frame for global: {}{}", name, prom);
149
150
// 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.
+ // make sense if the body is expecting nontrivial arguments.
152
// (The alternative would be to use `eval_fn_call` with an args slice.)
153
for arg in body.args_iter() {
154
let decl = body.local_decls.get(arg).expect("arg missing from local_decls");
0 commit comments