summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJudd <foldl@outlook.com>2022-08-17 09:48:52 +0800
committerGitHub <noreply@github.com>2022-08-17 09:48:52 +0800
commit60f6724b7003bf2cb63c61e8b2a4b08772672ff4 (patch)
treeb762397cb989781e40f8e130e65202489bb4d136
parent9f408ea9430b104eb6c14a84d7a1650bf115b6a0 (diff)
downloadNim-60f6724b7003bf2cb63c61e8b2a4b08772672ff4.tar.gz
fix comment in the Nim manual (#20234)
fix comment

there is no `y` in the example.
-rw-r--r--doc/manual.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual.md b/doc/manual.md
index 7933fe340..7605a8b82 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]