From c1f3acaa64a004577b79834996715595877efffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20L=C3=B6bel?= Date: Mon, 29 Dec 2014 08:54:51 +0100 Subject: [PATCH] Marked find and rfind as stable --- src/libcollections/str.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs index 446438c119f2..eeec7f767ab1 100644 --- a/src/libcollections/str.rs +++ b/src/libcollections/str.rs @@ -1475,7 +1475,7 @@ pub trait StrExt for Sized?: ops::Slice { /// let x: &[_] = &['1', '2']; /// assert_eq!(s.find(x), None); /// ``` - #[unstable = "might be superseded by match_indices"] + #[stable] fn find(&self, pat: P) -> Option { core_str::StrExt::find(self[], pat) } @@ -1503,7 +1503,7 @@ pub trait StrExt for Sized?: ops::Slice { /// let x: &[_] = &['1', '2']; /// assert_eq!(s.rfind(x), None); /// ``` - #[unstable = "might be superseded by match_indices"] + #[stable] fn rfind(&self, pat: P) -> Option { core_str::StrExt::rfind(self[], pat) }