summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-07-19 19:55:00 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-07-19 19:55:00 +0200
commit6905a6fae3af5c95481bab671ead322dc6e300b8 (patch)
tree68ad1baa66a29ceaeec3d38b38b943f748110af5 /doc
parent9605435f2eea1e0be62170238023894d1eed29af (diff)
downloadNim-6905a6fae3af5c95481bab671ead322dc6e300b8.tar.gz
updated 'concept' docs
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/generics.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/doc/manual/generics.txt b/doc/manual/generics.txt
index 07d98b289..5f22e959a 100644
--- a/doc/manual/generics.txt
+++ b/doc/manual/generics.txt
@@ -232,16 +232,6 @@ type signatures of the required operations, but since type inference and
 default parameters are still applied in the provided block, it's also possible
 to encode usage protocols that do not reveal implementation details.
 
-As a special rule providing further convenience when writing concepts, any
-type value appearing in a callable expression will be treated as a variable of
-the designated type for overload resolution purposes, unless the type value was
-passed in its explicit ``typedesc[T]`` form:
-
-.. code-block:: nim
-  type
-    OutputStream = concept s
-      write(var s, string)
-
 Much like generics, concepts are instantiated exactly
 once for each tested type and any static code included within them is also
 executed once.