aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-04-25 11:26:24 +0200
committerGitHub <[email protected]>2018-04-25 11:26:24 +0200
commita1d1a01ea8ceb9d7343885967bf40403ff6c0798 (patch)
tree257229f0ad677263ebbd83209a86546acc1a2eef /lib/edoc
parent381ab6129998cbd43216eaafabf7cef78c879c5d (diff)
parentd97cba952c51dbb830e89c373aa0f65e3a1e5415 (diff)
downloadotp-a1d1a01ea8ceb9d7343885967bf40403ff6c0798.tar.gz
otp-a1d1a01ea8ceb9d7343885967bf40403ff6c0798.tar.bz2
otp-a1d1a01ea8ceb9d7343885967bf40403ff6c0798.zip
Merge pull request #1785 from richcarl/append-not-concat
Do not use lists:concat where lists:append is intended
Diffstat (limited to 'lib/edoc')
-rw-r--r--lib/edoc/src/edoc_doclet.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/edoc/src/edoc_doclet.erl b/lib/edoc/src/edoc_doclet.erl
index 0e084e619e..f55cffe158 100644
--- a/lib/edoc/src/edoc_doclet.erl
+++ b/lib/edoc/src/edoc_doclet.erl
@@ -255,7 +255,7 @@ modules_frame(Dir, Ms, Title, CSS) ->
?NL,
{table, [{width, "100%"}, {border, 0},
{summary, "list of modules"}],
- lists:concat(
+ lists:append(
[[?NL,
{tr, [{td, [],
[{a, [{href, module_ref(M)},
@@ -448,7 +448,7 @@ application_frame(Dir, Apps, Title, CSS) ->
{h2, ["Applications"]},
?NL,
{table, [{width, "100%"}, {border, 0}],
- lists:concat(
+ lists:append(
[[{tr, [{td, [], [{a, [{href,app_ref(Path,App)},
{target,"_top"}],
[App]}]}]}]