mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Correct doc typo
This commit is contained in:
parent
a54af0363a
commit
02f4afaa64
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue