瀏覽代碼

Fix typos in eval_inst.h (#6775)

Nicholas Bishop 2 月之前
父節點
當前提交
393e6e4f9a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>