pub fn close<T>(&mut self, x: T) -> Result<T, SexpError> {
        match self.iter.next() {
            Some(x) => Err(format!("Unexpected {} in {}", x, self.name).into()),
            None => Ok(x),
        }
    }
/// make sure we consumed all of the iterator
///
/// shape: )
make sure we consumed all of the iterator
shape: )
make sure we consumed all of the iterator shape : )
pub fn close<T>(&mut self, x: T) -> Result<T, SexpError> {
        match self.iter.next() {
            Some(x) => Err(format!("Unexpected {} in {}", x, self.name).into()),
            None => Ok(x),
        }
    }
pub fn close < T > ( & mut self , x : T ) -> Result < T , SexpError > { match self . iter . next ( ) { Some ( x ) => Err ( format ! ( " " x self name ) . into ( ) ) , None => Ok ( x ) , } }
make sure we consumed all of the iterator
shape: )
make sure we consumed all of the iterator shape : )
&mut self
x
T