aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/cerl_trees.erl
diff options
context:
space:
mode:
authorRadek Szymczyszyn <[email protected]>2018-04-26 19:10:40 +0200
committerRadek Szymczyszyn <[email protected]>2018-05-04 12:30:48 +0200
commit1a6adf47cf8895a508cd76660ed69f1f3dfb0bcd (patch)
treecc9bcb807ae74506f232d58af82ac5db685a184a /lib/compiler/src/cerl_trees.erl
parent8313eae72dd170d2f4502d225b74dbf543198313 (diff)
downloadotp-1a6adf47cf8895a508cd76660ed69f1f3dfb0bcd.tar.gz
otp-1a6adf47cf8895a508cd76660ed69f1f3dfb0bcd.tar.bz2
otp-1a6adf47cf8895a508cd76660ed69f1f3dfb0bcd.zip
Fix syntactic issues in EDoc comments across some libs
See https://github.com/erszcz/docsh/issues/23 for an explanation about how the files were found.
Diffstat (limited to 'lib/compiler/src/cerl_trees.erl')
-rw-r--r--lib/compiler/src/cerl_trees.erl7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/compiler/src/cerl_trees.erl b/lib/compiler/src/cerl_trees.erl
index c7a129b42c..533c984221 100644
--- a/lib/compiler/src/cerl_trees.erl
+++ b/lib/compiler/src/cerl_trees.erl
@@ -351,10 +351,9 @@ mapfold(F, S0, T) ->
mapfold(fun(T0, A) -> {T0, A} end, F, S0, T).
-%% @spec mapfold(Pre, Post, Initial::term(), Tree::cerl()) ->
-%% {cerl(), term()}
-%%
-%% Pre = Post = (cerl(), term()) -> {cerl(), term()}
+%% @spec mapfold(Pre, Post, Initial::term(), Tree::cerl()) -> {cerl(), term()}
+%% Pre = (cerl(), term()) -> {cerl(), term()}
+%% Post = (cerl(), term()) -> {cerl(), term()}
%%
%% @doc Does a combined map/fold operation on the nodes of the
%% tree. It begins by calling <code>Pre</code> on the tree, using the