pub fn skip_split(&mut self) {
        if (self.phase == Running || self.phase == Paused)
            && self.current_split_index < self.run.len().checked_sub(1)
        {
            self.current_split_mut().unwrap().clear_split_time();
            self.current_split_index = self.current_split_index.map(|i| i + 1);
            self.run.mark_as_modified();

            // FIXME: OnSkipSplit
        }
    }
/// Skips the current split if an attempt is in progress and the
/// current split is not the last split.
Skips the current split if an attempt is in progress and the
current split is not the last split.
Skips the current split if an attempt is in progress and the current split is not the last split .
pub fn skip_split(&mut self) {
        if (self.phase == Running || self.phase == Paused)
            && self.current_split_index < self.run.len().checked_sub(1)
        {
            self.current_split_mut().unwrap().clear_split_time();
            self.current_split_index = self.current_split_index.map(|i| i + 1);
            self.run.mark_as_modified();
            // FIXME: OnSkipSplit
        }
    }
pub fn skip_split ( & mut self ) { if ( self . phase == Running || self . phase == Paused ) && self . current_split_index < self . run . len ( ) . checked_sub ( 1 ) { self . current_split_mut ( ) . unwrap ( ) . clear_split_time ( ) ; self . current_split_index = self . current_split_index . map ( | i | i + 1 ) ; self . run . mark_as_modified ( ) ; // FIXME: OnSkipSplit } }
Skips the current split if an attempt is in progress and the
current split is not the last split.
Skips the current split if an attempt is in progress and the current split is not the last split .
&mut self
&mut self