Skip to content

Commit

Permalink
[fixup] adds better comment to treeStore#Rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanlott committed Jul 21, 2023
1 parent 0cf0e31 commit 5b7af11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions persistence/trees/trees.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ func (t *treeStore) Savepoint() error {
return nil
}

// Rollback rolls back to the last saved world state maintained by the treeStore.
// Rollback intentionally can't return an error because at this point we're out of tricks
// to recover from problems.
func (t *treeStore) Rollback() {
Expand Down

0 comments on commit 5b7af11

Please sign in to comment.