Skip to content

Commit

Permalink
Remove leftover code in Array#flatten!
Browse files Browse the repository at this point in the history
  • Loading branch information
meh committed Oct 24, 2013
1 parent a318a62 commit 5aa9af2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions corelib/array.rb
Expand Up @@ -624,8 +624,6 @@ def flatten!(level = undefined)
for (var i = 0, length = self.length; i < length; i++) {
if (self[i] !== flattened[i]) {
changed = true;
break;
}
}
Expand Down

0 comments on commit 5aa9af2

Please sign in to comment.