From c289b749ad93ca6c2c56e9c6d93cfd3a9d1d8e12 Mon Sep 17 00:00:00 2001 From: Paul Banks Date: Tue, 24 Jan 2023 10:50:12 +0000 Subject: [PATCH] Update codec.go --- codec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec.go b/codec.go index c3d0315..801d7c0 100644 --- a/codec.go +++ b/codec.go @@ -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 }