diff --git a/toolchain/sem_ir/name_scope.h b/toolchain/sem_ir/name_scope.h index efb4432c38fe..8f1f43b6e63a 100644 --- a/toolchain/sem_ir/name_scope.h +++ b/toolchain/sem_ir/name_scope.h @@ -180,7 +180,6 @@ class NameScope : public Printable { // found, returns the corresponding EntryId. Otherwise, returns nullopt and // poisons the name so it can't be declared later. Names that are not // identifiers will not be poisoned. - // poisons the name so it can't be declared later. auto LookupOrPoison(LocId loc_id, NameId name_id) -> std::optional; auto extended_scopes() const -> llvm::ArrayRef {