Add default param name in TorrentImpl.Piece func

This commit is contained in:
Matt Joiner 2021-05-24 18:06:42 +10:00
parent ef39f408fe
commit f183acefe2
1 changed files with 1 additions and 1 deletions

View File

@ -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