]> git.proxmox.com Git - rustc.git/blobdiff - library/core/src/iter/adapters/filter.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / library / core / src / iter / adapters / filter.rs
index f8d684fcdda46ca9d7c52cb770a947579fb54add..0337892b9e8e18f9abd465682673e8189827b3a3 100644 (file)
@@ -13,7 +13,8 @@ use crate::ops::Try;
 #[stable(feature = "rust1", since = "1.0.0")]
 #[derive(Clone)]
 pub struct Filter<I, P> {
-    iter: I,
+    // Used for `SplitWhitespace` and `SplitAsciiWhitespace` `as_str` methods
+    pub(crate) iter: I,
     predicate: P,
 }
 impl<I, P> Filter<I, P> {