aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-05-03 08:00:16 +0200
committerHans Bolinder <[email protected]>2019-05-03 08:00:16 +0200
commitc60572857cba4cc9abc4bce783ce5de4dba4275b (patch)
treefe928843ce1cf4fcbbc98c0c95aac46aeb35ace5
parente77fef6f36e2fbe79b14759642e9b5d498b55ec0 (diff)
parentce117d73133a371d394bda9c112d4e40b978b3d1 (diff)
downloadotp-c60572857cba4cc9abc4bce783ce5de4dba4275b.tar.gz
otp-c60572857cba4cc9abc4bce783ce5de4dba4275b.tar.bz2
otp-c60572857cba4cc9abc4bce783ce5de4dba4275b.zip
Merge branch 'elbrujohalcon/stdlib/gb_trees_opaque_type_docs/PR-2198'
* elbrujohalcon/stdlib/gb_trees_opaque_type_docs/PR-2198: Remove description of structure of opaque type `gb_trees:tree/2`.
-rw-r--r--lib/stdlib/doc/src/gb_trees.xml7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/stdlib/doc/src/gb_trees.xml b/lib/stdlib/doc/src/gb_trees.xml
index 570c9c7cb6..08aa1865e8 100644
--- a/lib/stdlib/doc/src/gb_trees.xml
+++ b/lib/stdlib/doc/src/gb_trees.xml
@@ -42,11 +42,8 @@
<section>
<title>Data Structure</title>
- <code type="none">
-{Size, Tree}</code>
-
- <p><c>Tree</c> is composed of nodes of the form <c>{Key, Value, Smaller,
- Bigger}</c> and the "empty tree" node <c>nil</c>.</p>
+ <p>Trees and iterators are built using opaque data structures that should
+ not be pattern-matched from outside this module.</p>
<p>There is no attempt to balance trees after deletions. As
deletions do not increase the height of a tree, this should be OK.</p>