From 248bdb276ac946ed8faa8fa4c1cbc32c2aff103b Mon Sep 17 00:00:00 2001 From: litlighilit Date: Fri, 23 Feb 2024 20:11:27 +0800 Subject: [PATCH] compiler/ast.nim: fix a typo (#23340) constains -> constrains --------- Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com> --- compiler/ast.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ast.nim b/compiler/ast.nim index 732763f0fe..a3f17a0627 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -553,7 +553,7 @@ type tfIterator, # type is really an iterator, not a tyProc tfPartial, # type is declared as 'partial' tfNotNil, # type cannot be 'nil' - tfRequiresInit, # type constains a "not nil" constraint somewhere or + tfRequiresInit, # type contains a "not nil" constraint somewhere or # a `requiresInit` field, so the default zero init # is not appropriate tfNeedsFullInit, # object type marked with {.requiresInit.}