Skip to content

Conversation

PragTob
Copy link

@PragTob PragTob commented Jun 23, 2013

Fixing a wrong example for Array#reject as noticed in the comments online.

I don't know what the original author intended but since all the other operations return [4, 5, 6] I changed it to <= instead of changing the result to [3, 4, 5, 6]

Thanks for your work on Ruby!
Tobi

* I don't know what the original author intended but since all
  the other operations return [4, 5, 6] I changed it to <=
  instead of changeing the result to [3, 4, 5, 6]
@zzak
Copy link
Member

zzak commented Jun 23, 2013

Thank you @PragTob!

@zzak zzak closed this in 6e088d2 Jun 23, 2013
evanphx pushed a commit that referenced this pull request Jun 24, 2013
	* array.c: Return value in Array overview example found by @PragTob
	  [Fix GH-336] #336


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlove pushed a commit to tenderlove/ruby that referenced this pull request Jan 24, 2014
  [Fix rubyGH-336] ruby#336


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
jhawthorn pushed a commit to jhawthorn/ruby that referenced this pull request Aug 3, 2022
* Fix bitmask encoding to u32

* Fix splitting for Op::And to account for bitmask immediate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants