Skip to content

Commit 0367d86

Browse files
committed
Fix trailing spaces
1 parent bdd1095 commit 0367d86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/truffle/strscan.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ScanError < StandardError
3939
end
4040

4141
class StringScanner
42-
42+
4343
Id = 'None$Id'.freeze
4444
Version = '1.0.0'.freeze
4545

@@ -321,7 +321,7 @@ def scan_internal(pattern, advance_pos, getstr, headonly)
321321
# onwards, even if headonly is set. Instead, remove the ^. This could
322322
# possibly be fixed in Joni instead, or maybe there is already some option
323323
# we're not using.
324-
324+
325325
if pattern.source[0] == '^' && pos > 0
326326
pattern = Regexp.new(pattern.source[1..-1])
327327
headonly = true

0 commit comments

Comments
 (0)