Improve Lint/SharedVarInFiber rule description

This commit is contained in:
Vitalii Elenhaupt 2020-03-26 15:18:44 +02:00
parent f27842e111
commit 98bc6bb76a
No known key found for this signature in database
GPG key ID: CD0BF17825928BC0

View file

@ -1,8 +1,8 @@
module Ameba::Rule::Lint module Ameba::Rule::Lint
# A rule that disallows using shared variables in fibers. # A rule that disallows using shared variables in fibers,
# which are mutated during iterations.
# #
# Using a shared variable in the `spawn` block in most cases # In most cases it leads to unexpected behaviour and is undesired.
# leads to unexpected behaviour and is undesired.
# #
# For example, having this example: # For example, having this example:
# #