diff options
Diffstat (limited to 'src/libstd/str.rs')
| -rw-r--r-- | src/libstd/str.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libstd/str.rs b/src/libstd/str.rs index bba3ad6a94e..66b1999f237 100644 --- a/src/libstd/str.rs +++ b/src/libstd/str.rs @@ -355,7 +355,6 @@ Section: Iterators /// Use with the `std::iterator` module. #[deriving(Clone)] pub struct CharIterator<'self> { - // already priv /// The slice remaining to be iterated priv string: &'self str, } @@ -401,7 +400,6 @@ impl<'self> DoubleEndedIterator<char> for CharIterator<'self> { /// Use with the `std::iterator` module. #[deriving(Clone)] pub struct CharOffsetIterator<'self> { - // already priv /// The original string to be iterated priv string: &'self str, priv iter: CharIterator<'self>, @@ -460,7 +458,6 @@ pub type ByteRevIterator<'self> = Invert<ByteIterator<'self>>; /// An iterator over the substrings of a string, separated by `sep`. #[deriving(Clone)] pub struct CharSplitIterator<'self, Sep> { - // already priv /// The slice remaining to be iterated priv string: &'self str, priv sep: Sep, @@ -478,7 +475,6 @@ pub type CharRSplitIterator<'self, Sep> = Invert<CharSplitIterator<'self, Sep>>; /// splitting at most `count` times. #[deriving(Clone)] pub struct CharSplitNIterator<'self, Sep> { - // already priv priv iter: CharSplitIterator<'self, Sep>, /// The number of splits remaining priv count: uint, @@ -595,7 +591,6 @@ impl<'self, Sep: CharEq> Iterator<&'self str> for CharSplitNIterator<'self, Sep> /// substring within a larger string #[deriving(Clone)] pub struct MatchesIndexIterator<'self> { - // already priv priv haystack: &'self str, priv needle: &'self str, priv position: uint, @@ -605,7 +600,6 @@ pub struct MatchesIndexIterator<'self> { /// search string #[deriving(Clone)] pub struct StrSplitIterator<'self> { - // already priv priv it: MatchesIndexIterator<'self>, priv last_end: uint, priv finished: bool @@ -1005,7 +999,6 @@ pub struct CharRange { /// Current `char` /// This field should be public making it private causes error while compiling!! ch: char, - // made by reedlepee /// Index of the first byte of the next `char` next: uint } |
