Просмотр исходного кода

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

Co-authored-by: Josh L <josh11b@users.noreply.github.com>
josh11b 1 год назад
Родитель
Сommit
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>(