mozilla/rust — pull request #1812 by killerswan (2012-02-12 01:23:43+00:00)
Title: (core::str) Fixing index and rindex

These commits make index and rindex return character positions of a matched char, using `option::none` rather than '-1' to indicate a character not found.