From 060661d2b4a323c83a1bf043234eae8a344ff6aa Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Wed, 25 Feb 2015 23:12:22 +1100 Subject: Add some missing stability attributes on struct fields. --- src/libcore/str/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libcore') diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 7e51f8e8503..b354116993c 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -939,6 +939,7 @@ impl<'a, P: Pattern<'a>> Iterator for SplitStr<'a, P> { type Item = &'a str; #[inline] + #[allow(deprecated)] fn next(&mut self) -> Option<&'a str> { Iterator::next(&mut self.0) } -- cgit 1.4.1-3-g733a5