Browse Source

Fix typos in eval_inst.h (#6775)

Nicholas Bishop 2 tháng trước cách đây
mục cha
commit
393e6e4f9a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      toolchain/check/eval_inst.h

+ 1 - 1
toolchain/check/eval_inst.h

@@ -124,7 +124,7 @@ constexpr auto ConstantKindHasEvalConstantInst(SemIR::InstConstantKind kind)
 template <typename InstT, bool HasFn, bool HasInstId>
 struct FunctionTypeForEvalConstantInstImpl {
   // By default, we want no `EvalConstantInst` function at all. But we can't
-  // express that, so use the type `auto () -> voic` as a placaeholder.
+  // express that, so use the type `auto () -> void` as a placeholder.
   using Type = auto() -> void;
 };
 template <typename InstT>