Skip to content

Commit

Permalink
Marked find and rfind as stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimundi committed Dec 29, 2014
1 parent 72c8f37 commit c1f3aca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcollections/str.rs
Expand Up @@ -1475,7 +1475,7 @@ pub trait StrExt for Sized?: ops::Slice<uint, str> {
/// let x: &[_] = &['1', '2'];
/// assert_eq!(s.find(x), None);
/// ```
#[unstable = "might be superseded by match_indices"]
#[stable]
fn find<P: CharEq>(&self, pat: P) -> Option<uint> {
core_str::StrExt::find(self[], pat)
}
Expand Down Expand Up @@ -1503,7 +1503,7 @@ pub trait StrExt for Sized?: ops::Slice<uint, str> {
/// let x: &[_] = &['1', '2'];
/// assert_eq!(s.rfind(x), None);
/// ```
#[unstable = "might be superseded by match_indices"]
#[stable]
fn rfind<P: CharEq>(&self, pat: P) -> Option<uint> {
core_str::StrExt::rfind(self[], pat)
}
Expand Down

7 comments on commit c1f3aca

@bors
Copy link
Contributor

@bors bors commented on c1f3aca Dec 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at Kimundi@c1f3aca

@bors
Copy link
Contributor

@bors bors commented on c1f3aca Dec 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging Kimundi/rust/str_pattern_pre = c1f3aca into auto

@bors
Copy link
Contributor

@bors bors commented on c1f3aca Dec 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

status: {"merge_sha": "19f73b4ef6fb1d24f19738a8665889396fc1b0c8"}

@bors
Copy link
Contributor

@bors bors commented on c1f3aca Dec 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kimundi/rust/str_pattern_pre = c1f3aca merged ok, testing candidate = 19f73b4

@bors
Copy link
Contributor

@bors bors commented on c1f3aca Dec 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 19f73b4

@bors
Copy link
Contributor

@bors bors commented on c1f3aca Dec 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 19f73b4

Please sign in to comment.