D-Programming-Language/phobos — pull request #1025 by monarchdodra (2012-12-21 20:24:15+00:00)
Title: Fix find(Needles...) in regards to saving

Not much to say about this: Makes find(Range, Needles...) save correct.

I added a constraint in the form of a private trait. It was either that, or fail to compile on invalid input I guess.

I had a bit of trouble saving the actual needles. I have this, if anybody else cares to help?
http://forum.dlang.org/thread/uygomtzokcmxsmjdwfng@forum.dlang.org

Minor: I changed the word `Ranges...` to `Needles...` because I found it less confusing that way.