diff --git a/compiler/backend/mangling.nim b/compiler/backend/mangling.nim index 809c45cf28c..96e4a9494fe 100644 --- a/compiler/backend/mangling.nim +++ b/compiler/backend/mangling.nim @@ -63,7 +63,7 @@ proc mangle(g: ModuleGraph, typ: PType): string = # use the local ID as the name. "H" stands for "hidden" result = "H" & $s.itemId.item & "_M" & withLen(m) else: - # non-exported objec type's don't necessarily have unique names within a + # non-exported object types don't necessarily have unique names within a # module; the ID is included to produced a unique name result = "L" & mangleWithLen(s.name.s) & "_" & $s.itemId.item & "_M" & withLen(m) diff --git a/compiler/mir/mirtypes.nim b/compiler/mir/mirtypes.nim index 20be6d7d313..c78851790d7 100644 --- a/compiler/mir/mirtypes.nim +++ b/compiler/mir/mirtypes.nim @@ -135,7 +135,7 @@ type instances: Table[(int, HeaderId), TypeId] ## associates a generic type ID + instance body with a type symbol. This - ## is used for eliminating same-shaped instantiations of a generic + ## is used for eliminating same-shaped instantiations of a generic ## object type idents: BiTable[string]