mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-22 00:41:28 +00:00
minor manual improvement; refs #5181
This commit is contained in:
@@ -389,7 +389,8 @@ Multi-methods
|
||||
=============
|
||||
|
||||
Procedures always use static dispatch. Multi-methods use dynamic
|
||||
dispatch.
|
||||
dispatch. For dynamic dispatch to work on an object it should be a reference
|
||||
type as well.
|
||||
|
||||
.. code-block:: nim
|
||||
type
|
||||
|
||||
Reference in New Issue
Block a user