From 02f4afaa6416ada0fdb5cf6b2c7cd4f22e2b50aa Mon Sep 17 00:00:00 2001 From: Vitalii Elenhaupt Date: Fri, 27 Mar 2020 23:17:36 +0200 Subject: [PATCH] Correct doc typo --- src/ameba/rule/lint/shared_var_in_fiber.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: