rust-itertools / itertools

Extra iterator adaptors, iterator methods, free functions, and macros.
https://docs.rs/itertools/
Apache License 2.0
2.72k stars 309 forks source link

Add all_equal_value method #648

Closed hottea773 closed 2 years ago

hottea773 commented 2 years ago

This resolves https://github.com/rust-itertools/itertools/issues/495 by adding an all_equal_value method.

(I'm not certain it's valuable enough to add, but thought I might as well submit a PR to find out.)

phimuemue commented 2 years ago

Thanks for this!

bors r+

bors[bot] commented 2 years ago

Build succeeded: