mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Prefer not to shadow a local
This commit is contained in:
@@ -45,7 +45,7 @@ module ActiveSupport
|
||||
l = a.unpack "C#{a.bytesize}"
|
||||
|
||||
res = 0
|
||||
b.each_byte { |b| res |= b ^ l.shift }
|
||||
b.each_byte { |byte| res |= byte ^ l.shift }
|
||||
res == 0
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user