Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
xunilrj committed Jul 27, 2024
1 parent 8c17162 commit 2a3a934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sway-core/src/ir_generation/const_eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ fn const_eval_typed_expr(
ty::TyExpressionVariant::Ref(_) => {
return Err(ConstEvalError::CompileError);
}
// We support *__slice_elem(...)
// We support *__elem_at(...)
ty::TyExpressionVariant::Deref(expr) => {
let value = expr
.as_intrinsic()
Expand Down

0 comments on commit 2a3a934

Please sign in to comment.