Correct doc typos

This commit is contained in:
Vitalii Elenhaupt 2020-03-26 10:35:27 +02:00
parent 81631af631
commit f27842e111
No known key found for this signature in database
GPG key ID: CD0BF17825928BC0
2 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@ module Ameba::AST
def initialize(@node, @in_loop)
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:
#
# ```

View file

@ -70,9 +70,9 @@ module Ameba::AST::Util
end
# 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`:
#
# ```