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

Fix a small implicit/desugared reference (#5791)

Implicit is the old term, and could be confusing now.
Jon Ross-Perkins 9 месяцев назад
Родитель
Сommit
6ca4e2e089
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      toolchain/check/inst.h

+ 1 - 1
toolchain/check/inst.h

@@ -64,7 +64,7 @@ auto AddInstInNoBlock(Context& context, LocT loc, InstT inst) -> SemIR::InstId {
   return AddInstInNoBlock(context, SemIR::LocIdAndInst(loc, inst));
 }
 
-// If the instruction has an implicit location and a constant value, returns
+// If the instruction has a desugared location and a constant value, returns
 // the constant value's instruction ID. Otherwise, same as AddInst.
 auto GetOrAddInst(Context& context, SemIR::LocIdAndInst loc_id_and_inst)
     -> SemIR::InstId;