mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Correct doc typos
This commit is contained in:
parent
81631af631
commit
f27842e111
2 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ module Ameba::AST
|
||||||
def initialize(@node, @in_loop)
|
def initialize(@node, @in_loop)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns nodes which can't be reached because of a flow expression inside.
|
# Returns nodes which can't be reached because of a flow command inside.
|
||||||
# For example:
|
# For example:
|
||||||
#
|
#
|
||||||
# ```
|
# ```
|
||||||
|
|
|
@ -70,9 +70,9 @@ module Ameba::AST::Util
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns true if node is a flow expression, false if not.
|
# Returns true if node is a flow expression, false if not.
|
||||||
# Node represents a flow expression if it is full-filed by a flow command.
|
# Node represents a flow expression if it is full-filled by a flow command.
|
||||||
#
|
#
|
||||||
# For example, this node is a flow expressions, because each branch contains
|
# For example, this node is a flow expression, because each branch contains
|
||||||
# a flow command `return`:
|
# a flow command `return`:
|
||||||
#
|
#
|
||||||
# ```
|
# ```
|
||||||
|
|
Loading…
Reference in a new issue