pub fn reset(&mut self, update_splits: bool) {
        if self.phase != NotRunning {
            self.reset_state(update_splits);
            self.reset_splits();
        }
    }
/// Resets the current attempt if there is one in progress. If the splits
/// are to be updated, all the information of the current attempt is stored
/// in the Run's history. Otherwise the current attempt's information is
/// discarded.
Resets the current attempt if there is one in progress. If the splits
are to be updated, all the information of the current attempt is stored
in the Run's history. Otherwise the current attempt's information is
discarded.
Resets the current attempt if there is one in progress . If the splits are to be updated all the information of the current attempt is stored in the Run ' s history . Otherwise the current attempt ' s information is discarded .
pub fn reset(&mut self, update_splits: bool) {
        if self.phase != NotRunning {
            self.reset_state(update_splits);
            self.reset_splits();
        }
    }
pub fn reset ( & mut self , update_splits : bool ) { if self . phase != NotRunning { self . reset_state ( update_splits ) ; self . reset_splits ( ) ; } }
Resets the current attempt if there is one in progress.
Resets the current attempt if there is one in progress .
&mut self
update_splits
bool
&mut self
update_splits
bool