diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-08-04 18:00:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-04 18:00:00 +0800 |
commit | 7c2a2c8dc810a837b93ee0e8bcaf6d8969f5a54a (patch) | |
tree | df73c6cd7df025bf776f4f553903d2db52b2d782 | |
parent | fb7acd66001a5f1bc018e1e1e9b1ebc792462e50 (diff) | |
download | Nim-7c2a2c8dc810a837b93ee0e8bcaf6d8969f5a54a.tar.gz |
fixes a typo in the manual (#22383)
ref https://github.com/nim-lang/Nim/commit/0d3bde95f578576d2e84d422d5694ee0e0055cbc#commitcomment-122093273
-rw-r--r-- | doc/manual.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual.md b/doc/manual.md index 45eb8fef5..fba905bb9 100644 --- a/doc/manual.md +++ b/doc/manual.md @@ -5517,7 +5517,7 @@ type Foo[T] = object proc p[H;T: Foo[H]](param: T): H ``` -A constraint definition may have more than one symbol defined by seperating each definition by +A constraint definition may have more than one symbol defined by separating each definition by a `;`. Notice how `T` is composed of `H` and the return type of `p` is defined as `H`. When this generic proc is instantiated `H` will be bound to a concrete type, thus making `T` concrete and the return type of `p` will be bound to the same concrete type used to define `H`. |