Skip to content

Commit

Permalink
Update codec.go
Browse files Browse the repository at this point in the history
  • Loading branch information
banks authored Jan 24, 2023
1 parent da16d5b commit c289b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type Codec interface {
// Decode a log from the passed byte slice into the log entry pointed to. This
// allows the caller to manage allocation and re-use of the bytes and log
// entry. The resulting raft.Log MUST NOT reference data in the input byte
// slice since the input byte slice may be re-used for
// slice since the input byte slice may be returned to a pool and re-used.
Decode([]byte, *raft.Log) error
}

Expand Down

0 comments on commit c289b74

Please sign in to comment.