From f183acefe2c5e69a2f2d8efd7c3d0a41ad1acdb3 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Mon, 24 May 2021 18:06:42 +1000 Subject: [PATCH] Add default param name in TorrentImpl.Piece func --- storage/interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/interface.go b/storage/interface.go index c48c6e34..271bc7e6 100644 --- a/storage/interface.go +++ b/storage/interface.go @@ -18,7 +18,7 @@ type ClientImpl interface { // Data storage bound to a torrent. type TorrentImpl struct { - Piece func(metainfo.Piece) PieceImpl + Piece func(p metainfo.Piece) PieceImpl Close func() error // Storages that share the same value, will provide a pointer to the same function. Capacity *func() *int64 -- 2.44.0