From: Matt Joiner Date: Mon, 24 May 2021 08:06:42 +0000 (+1000) Subject: Add default param name in TorrentImpl.Piece func X-Git-Tag: v1.29.0~31^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=f183acefe2c5e69a2f2d8efd7c3d0a41ad1acdb3;p=btrtrc.git Add default param name in TorrentImpl.Piece func --- 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