bors 19f73b4ef6 auto merge of #20058 : Kimundi/rust/str_pattern_pre, r=alexcrichton
This stabilizes most methods on `&str` working with patterns in a way that is forwards-compatible with a generic string pattern matching API:
- Methods that are using the primary name for their operation are marked as `#[stable]`, as they can be upgraded to a full `Pattern` API later without existing code breaking. Example: `contains(&str)`
- Methods that are using a more specific name in order to not clash with the primary one are marked as `#[unstable]`, as they will likely be removed once their functionality is merged into the primary one. Example: `contains_char<C: CharEq>(C)`
- The method docs got changed to consistently refer to the pattern types as a pattern.
- Methods whose names do not match in the context of the more generic API got renamed. Example: `trim_chars -> trim_matches` 

Additionally, all methods returning iterators got changed to return unique new types with changed names in accordance with the new naming guidelines.

See also https://github.com/rust-lang/rfcs/pull/528

Due to some deprecations and type changes, this is a 

[breaking-change]
2014-12-29 18:02:30 +00:00
..
2014-12-23 13:42:09 +01:00
2014-12-05 18:13:04 -05:00
2014-12-20 00:37:44 -08:00
2014-12-26 17:26:33 +01:00
2014-12-20 00:37:44 -08:00
2014-12-26 17:26:33 +01:00
2014-12-20 00:37:44 -08:00
2014-12-22 11:28:23 -08:00
2014-12-13 17:03:46 -05:00
2014-12-24 09:24:59 +13:00
2014-12-26 17:26:33 +01:00
2014-12-28 19:40:48 -05:00
2014-12-28 19:40:48 -05:00
2014-12-24 09:24:59 +13:00
2014-12-21 23:31:42 -08:00
2014-12-21 19:09:55 -08:00
2014-12-28 19:40:48 -05:00
2014-12-19 10:43:23 -05:00
2014-12-21 23:31:42 -08:00
2014-12-19 10:43:23 -05:00
2014-12-22 17:45:34 +01:00