summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-06-07 09:26:55 -0400
committergit <svn-admin@ruby-lang.org>2024-06-07 13:28:23 +0000
commit51bb5dcd2e63d7902794d42147817733249d3dd9 (patch)
treeb563bde9310f7ee8b9990c92f2d1d1ad8eaa08f7 /lib
parent40ec860de761af3b7b8538452a55c2ef8b9bb93e (diff)
[ruby/error_highlight] Trim trailing spaces in base.rb
https://github.com/ruby/error_highlight/commit/8ce3f6f145
Diffstat (limited to 'lib')
-rw-r--r--lib/error_highlight/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/error_highlight/base.rb b/lib/error_highlight/base.rb
index e98d81a279..81b1b574de 100644
--- a/lib/error_highlight/base.rb
+++ b/lib/error_highlight/base.rb
@@ -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
# ^^^^^^^^