diff options
author | Siri Hansen <[email protected]> | 2017-03-01 11:35:22 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-03-01 11:35:22 +0100 |
commit | 7d457490f786faef4ab02c300a1e69c21a6aeb21 (patch) | |
tree | 918f954275a07e6656a6b946fb769ef7e6e56326 /lib/stdlib/src | |
parent | 52f822ab407be031a0013f47ff2b1b45b27fc1f5 (diff) | |
download | otp-7d457490f786faef4ab02c300a1e69c21a6aeb21.tar.gz otp-7d457490f786faef4ab02c300a1e69c21a6aeb21.tar.bz2 otp-7d457490f786faef4ab02c300a1e69c21a6aeb21.zip |
Correct documentation of get_modules message
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r-- | lib/stdlib/src/gen_event.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/gen_event.erl b/lib/stdlib/src/gen_event.erl index ccacf658e9..e55cdddb9a 100644 --- a/lib/stdlib/src/gen_event.erl +++ b/lib/stdlib/src/gen_event.erl @@ -742,7 +742,7 @@ stop_handlers([], _) -> []. %% Message from the release_handler. -%% The list of modules got to be a set ! +%% The list of modules got to be a set, i.e. no duplicate elements! get_modules(MSL) -> Mods = [Handler#handler.module || Handler <- MSL], ordsets:to_list(ordsets:from_list(Mods)). |