pub fn read_next(&mut self) -> Option<char> {
        // Read the next character
        let next_chr = self.pushed_back.pop_back().or_else(|| self.chars.next());

        // Add to the pending 'read characters' buffer
        if let Some(next_chr) = next_chr {
            self.read.push_back(next_chr);
        }

        next_chr
    }
///
/// Reads the next character if it's available
///
Reads the next character if it's available
Reads the next character if it ' s available
pub fn read_next(&mut self) -> Option<char> {
        // Read the next character
        let next_chr = self.pushed_back.pop_back().or_else(|| self.chars.next());
        // Add to the pending 'read characters' buffer
        if let Some(next_chr) = next_chr {
            self.read.push_back(next_chr);
        }
        next_chr
    }
pub fn read_next ( & mut self ) -> Option < char > { // Read the next character let next_chr = self . pushed_back . pop_back ( ) . or_else ( | | self . chars . next ( ) ) ; // Add to the pending 'read characters' buffer if let Some ( next_chr ) = next_chr { self . read . push_back ( next_chr ) ; } next_chr }
Reads the next character if it's available
Reads the next character if it ' s available
&mut self
&mut self