about summary refs log tree commit diff
path: root/src/libcore/str
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2015-02-25 23:12:22 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2015-02-27 12:52:43 +1100
commit060661d2b4a323c83a1bf043234eae8a344ff6aa (patch)
tree043176504d4c42aecb765d4feb7b08c177773a92 /src/libcore/str
parenteafdc7135b79d2e51da740b67946512d949632a1 (diff)
downloadrust-060661d2b4a323c83a1bf043234eae8a344ff6aa.tar.gz
rust-060661d2b4a323c83a1bf043234eae8a344ff6aa.zip
Add some missing stability attributes on struct fields.
Diffstat (limited to 'src/libcore/str')
-rw-r--r--src/libcore/str/mod.rs1
1 files changed, 1 insertions, 0 deletions
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)
     }