diff options
Diffstat (limited to 'docs/en/ranch/1.3/guide/embedded/index.html')
-rw-r--r-- | docs/en/ranch/1.3/guide/embedded/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/en/ranch/1.3/guide/embedded/index.html b/docs/en/ranch/1.3/guide/embedded/index.html index 7f4df004..eea4e32b 100644 --- a/docs/en/ranch/1.3/guide/embedded/index.html +++ b/docs/en/ranch/1.3/guide/embedded/index.html @@ -82,7 +82,7 @@ First, you need to add <code>ranch_sup</code> to your supervision tree, only onc regardless of the number of listeners you will use. Then you need to
add the child specs for each listener.</p></div>
<div class="paragraph"><p>Ranch has a convenience function for getting the listeners child specs
-called <code>ranch:child_spec/6</code>, that works like <code>ranch:start_listener/6</code>,
+called <code>ranch:child_spec/5</code>, that works like <code>ranch:start_listener/5</code>,
except that it doesn’t start anything, it only returns child specs.</p></div>
<div class="paragraph"><p>As for <code>ranch_sup</code>, the child spec is simple enough to not require a
convenience function.</p></div>
|