File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -172,8 +172,8 @@ defmodule GenServer do
172
172
registry
173
173
174
174
If there is an interest to register dynamic names locally, do not use
175
- atoms, as atoms are never garbage collected and therefore dynamically
176
- generated atoms won't be garbage collected. For such cases, you can
175
+ atoms, as atoms are never garbage- collected and therefore dynamically
176
+ generated atoms won't be garbage- collected. For such cases, you can
177
177
set up your own local registry by using the `Registry` module.
178
178
179
179
## Receiving "regular" messages
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ defmodule OptionParser do
130
130
accepts only known switches and always verify their types.
131
131
132
132
If you do want to parse unknown switches, remember that Elixir converts switches
133
- to atoms. Since atoms are not garbage collected, OptionParser will only parse
133
+ to atoms. Since atoms are not garbage- collected, OptionParser will only parse
134
134
switches that translate to atoms used by the runtime to avoid leaking atoms.
135
135
For instance, the code below will discard the `--option-parser-example` switch
136
136
because the `:option_parser_example` atom is never used anywhere:
Original file line number Diff line number Diff line change @@ -976,7 +976,7 @@ defmodule Stream do
976
976
Keep in mind that, in order to know if an element is unique
977
977
or not, this function needs to store all unique values emitted
978
978
by the stream. Therefore, if the stream is infinite, the number
979
- of items stored will grow infinitely, never being garbage collected.
979
+ of items stored will grow infinitely, never being garbage- collected.
980
980
981
981
## Examples
982
982
@@ -1006,7 +1006,7 @@ defmodule Stream do
1006
1006
Keep in mind that, in order to know if an element is unique
1007
1007
or not, this function needs to store all unique values emitted
1008
1008
by the stream. Therefore, if the stream is infinite, the number
1009
- of items stored will grow infinitely, never being garbage collected.
1009
+ of items stored will grow infinitely, never being garbage- collected.
1010
1010
1011
1011
## Example
1012
1012
Original file line number Diff line number Diff line change @@ -2123,7 +2123,7 @@ defmodule String do
2123
2123
Converts a string to an atom.
2124
2124
2125
2125
Warning: this function creates atoms dynamically and atoms are
2126
- not garbage collected. Therefore, `string` should not be an
2126
+ not garbage- collected. Therefore, `string` should not be an
2127
2127
untrusted value, such as input received from a socket or during
2128
2128
a web request. Consider using `to_existing_atom/1` instead.
2129
2129
You can’t perform that action at this time.
0 commit comments