Skip to content

Commit c1f3aca

Browse files
committed
Marked find and rfind as stable
1 parent 72c8f37 commit c1f3aca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcollections/str.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,7 @@ pub trait StrExt for Sized?: ops::Slice<uint, str> {
14751475
/// let x: &[_] = &['1', '2'];
14761476
/// assert_eq!(s.find(x), None);
14771477
/// ```
1478-
#[unstable = "might be superseded by match_indices"]
1478+
#[stable]
14791479
fn find<P: CharEq>(&self, pat: P) -> Option<uint> {
14801480
core_str::StrExt::find(self[], pat)
14811481
}
@@ -1503,7 +1503,7 @@ pub trait StrExt for Sized?: ops::Slice<uint, str> {
15031503
/// let x: &[_] = &['1', '2'];
15041504
/// assert_eq!(s.rfind(x), None);
15051505
/// ```
1506-
#[unstable = "might be superseded by match_indices"]
1506+
#[stable]
15071507
fn rfind<P: CharEq>(&self, pat: P) -> Option<uint> {
15081508
core_str::StrExt::rfind(self[], pat)
15091509
}

0 commit comments

Comments
 (0)