// Returns the current element and advances the iterator.
Returns the current element and advances the iterator.
Returns the current element and advances the iterator .
fn next(&mut self) -> Option<char> {
        let ret = self.current_ch;
        match self.chars.next() {
            None => {
                self.current_ch = None;
                self.current_pos = self.size;
            }
            Some((pos, c)) => {
                self.current_ch = Some(c);
                self.current_pos = pos;
            }
        }
        return ret;
    }
fn next ( & mut self ) -> Option < char > { let ret = self . current_ch ; match self . chars . next ( ) { None => { self . current_ch = None ; self . current_pos = self . size ; } Some ( ( pos , c ) ) => { self . current_ch = Some ( c ) ; self . current_pos = pos ; } } return ret ; }
Returns the current element and advances the iterator.
Returns the current element and advances the iterator .
&mut self