From 78e23734d40ae65ac70690acf1c097c2c5bf5339 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 11 Jan 2018 22:10:52 +1100 Subject: [PATCH] Clarify the PieceCompletion.Set method bool argument --- storage/completion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/completion.go b/storage/completion.go index 3d2e4d77..383a1d92 100644 --- a/storage/completion.go +++ b/storage/completion.go @@ -8,7 +8,7 @@ import ( type PieceCompletionGetSetter interface { Get(metainfo.PieceKey) (Completion, error) - Set(metainfo.PieceKey, bool) error + Set(_ metainfo.PieceKey, complete bool) error } // Implementations track the completion of pieces. It must be concurrent-safe.