hamstergem / hamster

Efficient, Immutable, Thread-Safe Collection classes for Ruby
Other
1.89k stars 94 forks source link

Simplify Vector#uniq #228

Closed no-reply closed 8 years ago

no-reply commented 8 years ago

There's no need to switch on block_given? (&nil can pass through to Array#uniq{,!}).

Signed-off-by: Stephen Celis stephen@stephencelis.com

This is an alternate PR for #224. It is identical to that (and contains the same commit), except that it is rebased on the latest core to persuade Travis to pass all required builds.

no-reply commented 8 years ago

Merged by #230