Fix a typo.

This commit is contained in:
M. J. Fromberger
2022-02-18 11:53:41 -08:00
parent 07e0b0f2e8
commit 70e6b29dbe

View File

@@ -172,7 +172,7 @@ func (lg *Log) state() logState {
}
// waitStateChange blocks until either ctx ends or the head of the log is
// modified, then returns the statee of the log. An error is reported only if
// modified, then returns the state of the log. An error is reported only if
// ctx terminates before head changes.
func (lg *Log) waitStateChange(ctx context.Context) (logState, error) {
lg.mu.Lock()