diff --git a/src/ameba/rule/lint/shared_var_in_fiber.cr b/src/ameba/rule/lint/shared_var_in_fiber.cr index f25be3ea..8011fa03 100644 --- a/src/ameba/rule/lint/shared_var_in_fiber.cr +++ b/src/ameba/rule/lint/shared_var_in_fiber.cr @@ -18,7 +18,7 @@ module Ameba::Rule::Lint # 3.times { puts channel.receive } # => # 3, 3, 3 # ``` # - # The problem is there is only one shared between fibers variable `i` + # The problem is there is only one shared between fibers variable `n` # and when `channel.receive` is executed its value is `3`. # # To solve this, the code above needs to be rewritten to the following: