Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,13 @@
```elixir
# Bad
pid = self
import System, only: [schedu]
import System, only: [schedulers_online: 0]
schedulers_online

# Good
pid = self()
def new(), do: %MapSet{}
config = IEx.Config.new
import System, only: [schedulers_online: 0]
schedulers_online()
```

The same should be done for __remote__ zero-arity function calls:
Expand Down