[ruby/prism] Remove trailing parenthesis in Location#pretty_print

https://github.com/ruby/prism/commit/8eaa199a28
This commit is contained in:
gazayas 2023-10-04 20:14:36 +09:00 committed by git
parent 6ae2996e29
commit 488c0ed051

View File

@ -117,7 +117,7 @@ module Prism
end
def pretty_print(q)
q.text("(#{start_line},#{start_column})-(#{end_line},#{end_column}))")
q.text("(#{start_line},#{start_column})-(#{end_line},#{end_column})")
end
def ==(other)