[ruby/error_highlight] Trim trailing spaces in base.rb

https://github.com/ruby/error_highlight/commit/8ce3f6f145
This commit is contained in:
Kevin Newton 2024-06-07 09:26:55 -04:00 committed by git
parent 40ec860de7
commit 51bb5dcd2e

View File

@ -749,7 +749,7 @@ module ErrorHighlight
def prism_spot_local_variable_operator_write_for_name
prism_location(@node.binary_operator_loc.chop)
end
# Example:
# x += 1
# ^
@ -842,7 +842,7 @@ module ErrorHighlight
prism_location(location)
end
end
# Example:
# Foo::Bar += 1
# ^^^^^^^^