mozilla/rust — pull request #6106 by thestinger (2013-04-29 04:28:40+00:00)
Title: replace old_iter::repeat with the Times trait

I don't have a strong opinion on the function vs. method, but there's no point in having both. I'd also like to make a `repeat` adaptor like Python/Haskell for turning a value into an infinite stream of the value, so this has to go.