pub fn last(&self) -> &Change {
        // Return the 'back' buffered change - i.e. the one that isn't the total
        if self.using_second_change {
            &(self.change_1)
        } else {
            &(self.change_2)
        }
    }
/// Returns the last value to be stored in the `ChangeAccumulator`, or rounds if one or fewer
/// changes have been accumulated.
///
/// # Example
/// ```
/// use bellmetal::{Change, ChangeAccumulator, Stage};
///
/// let mut accum = ChangeAccumulator::new(Stage::ROYAL);
///
/// // After one accumulate, the last value is still rounds
/// accum.accumulate(&Change::from("5678901234"));
/// assert_eq!(accum.last(), &Change::rounds(Stage::ROYAL));
///
/// // After the second accumulate, the last value is the first change
/// accum.accumulate(&Change::from("0987123456"));
/// assert_eq!(accum.last(), &Change::from("5678901234"));
///
/// accum.reset();
///
/// // After resetting, the last value is set back to rounds
/// assert_eq!(accum.last(), &Change::rounds(Stage::ROYAL));
/// ```
Returns the last value to be stored in the `ChangeAccumulator`, or rounds if one or fewer
changes have been accumulated.
Returns the last value to be stored in the ` ChangeAccumulator ` or rounds if one or fewer changes have been accumulated .
pub fn last(&self) -> &Change {
        // Return the 'back' buffered change - i.e. the one that isn't the total
        if self.using_second_change {
            &(self.change_1)
        } else {
            &(self.change_2)
        }
    }
pub fn last ( & self ) -> & Change { // Return the 'back' buffered change - i.e. the one that isn't the total if self . using_second_change { & ( self . change_1 ) } else { & ( self . change_2 ) } }
Returns the last value to be stored in the `ChangeAccumulator`, or rounds if one or fewer
changes have been accumulated.
Returns the last value to be stored in the ` ChangeAccumulator ` or rounds if one or fewer changes have been accumulated .
&self
&self
example
```
use bellmetal::{Change, ChangeAccumulator, Stage}.

let mut accum = ChangeAccumulator::new(Stage::ROYAL).

After one accumulate, the last value is still rounds
accum.accumulate(&Change::from("5678901234"));
assert_eq!(accum.last(), &Change::rounds(Stage::ROYAL)).

After the second accumulate, the last value is the first change
accum.accumulate(&Change::from("0987123456"));
assert_eq!(accum.last(), &Change::from("5678901234")).

accum.reset().

After resetting, the last value is set back to rounds
assert_eq!(accum.last(), &Change::rounds(Stage::ROYAL));
```
` ` ` use bellmetal :: { Change ChangeAccumulator Stage } . let mut accum = ChangeAccumulator :: new ( Stage :: ROYAL ) . After one accumulate the last value is still rounds accum . accumulate ( &Change :: from ( " 5678901234 " )) ; assert_eq! ( accum . last () &Change :: rounds ( Stage :: ROYAL )) . After the second accumulate the last value is the first change accum . accumulate ( &Change :: from ( " 0987123456 " )) ; assert_eq! ( accum . last () &Change :: from ( " 5678901234 " )) . accum . reset () . After resetting the last value is set back to rounds assert_eq! ( accum . last () &Change :: rounds ( Stage :: ROYAL )) ; ` ` `