Kaynağa Gözat

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

Co-authored-by: Josh L <josh11b@users.noreply.github.com>
josh11b 1 yıl önce
ebeveyn
işleme
ca161ad0fb
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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>(