Преглед изворни кода

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;
   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 {
 struct AssociatedConstantDecl {
   static constexpr auto Kind =
   static constexpr auto Kind =
       InstKind::AssociatedConstantDecl.Define<Parse::NodeId>(
       InstKind::AssociatedConstantDecl.Define<Parse::NodeId>(