瀏覽代碼

Comment fix: `AssociatedConstantDecl` isn't just for associated types (#4207)

Co-authored-by: Josh L <josh11b@users.noreply.github.com>
josh11b 1 年之前
父節點
當前提交
ca161ad0fb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      toolchain/sem_ir/typed_insts.h

+ 1 - 1
toolchain/sem_ir/typed_insts.h

@@ -179,7 +179,7 @@ struct Assign {
   InstId rhs_id;
 };
 
-// An associated type declaration in an interface, such as `let T:! type;`.
+// An associated constant declaration in an interface, such as `let T:! type;`.
 struct AssociatedConstantDecl {
   static constexpr auto Kind =
       InstKind::AssociatedConstantDecl.Define<Parse::NodeId>(