Browse files

doc: fix typo in modules/structure.rst

  • Loading branch information...
kaos committed Nov 14, 2012
1 parent 92466ee commit 474374e278fcc6b131a2ae2bfedf5369b9af9f1e
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/manuals/modules/structure.rst
@@ -50,7 +50,7 @@ module is started. The parameter is a context record initialized for
the site the module will be running in. This is useful when you need
to initialize the database or other data structures for which you don’t
need a running process. When you also need to execute code when a module
-stops you can export an optional ``terminate\2`` function. This function
+stops you can export an optional ``terminate/2`` function. This function
will be called when the module terminates. The first parameter is a
Reason parameter which indicates why the module stopped. The second a
context record similar to the one in the ``init/1`` function.

0 comments on commit 474374e

Please sign in to comment.