fn pop_branch(&mut self) -> Result<Branch, arbitrary::Error> {
        for repo in self.repos.iter_mut().rev() {
            if let Some(branch) = repo.branches.pop() {
                return Ok(branch);
            }
        }

        return Err(arbitrary::Error::IncorrectFormat);
    }
/// Removes and returns the top branch
Removes and returns the top branch
Removes and returns the top branch
fn pop_branch(&mut self) -> Result<Branch, arbitrary::Error> {
        for repo in self.repos.iter_mut().rev() {
            if let Some(branch) = repo.branches.pop() {
                return Ok(branch);
            }
        }
        return Err(arbitrary::Error::IncorrectFormat);
    }
fn pop_branch ( & mut self ) -> Result < Branch , arbitrary :: Error > { for repo in self . repos . iter_mut ( ) . rev ( ) { if let Some ( branch ) = repo . branches . pop ( ) { return Ok ( branch ) ; } } return Err ( arbitrary :: Error :: IncorrectFormat ) ; }
Removes and returns the top branch
Removes and returns the top branch
&mut self
&mut self