pub fn undo_change<T: Clone>(
history: &History<T>,
current: T,
) -> FormResult<HistoryResult<T>>Expand description
The history without its last entry, with current appended to the redo entries, and the last entry as the record
(CURT-079); it fails when the history has no entry.