From 60f6724b7003bf2cb63c61e8b2a4b08772672ff4 Mon Sep 17 00:00:00 2001 From: Judd Date: Wed, 17 Aug 2022 09:48:52 +0800 Subject: [PATCH] fix comment in the Nim manual (#20234) fix comment there is no `y` in the example. --- doc/manual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual.md b/doc/manual.md index 7933fe3407..7605a8b823 100644 --- a/doc/manual.md +++ b/doc/manual.md @@ -6443,7 +6443,7 @@ passing `typeOfProc` as the second argument to `typeof`: iterator split(s: string): string = discard proc split(s: string): seq[string] = discard - # since an iterator is the preferred interpretation, `y` has the type `string`: + # since an iterator is the preferred interpretation, this has the type `string`: assert typeof("a b c".split) is string assert typeof("a b c".split, typeOfProc) is seq[string]