]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Add default param name in TorrentImpl.Piece func
authorMatt Joiner <anacrolix@gmail.com>
Mon, 24 May 2021 08:06:42 +0000 (18:06 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 7 Jun 2021 03:01:40 +0000 (13:01 +1000)
storage/interface.go

index c48c6e3405022665113682a324ef347fefd9bedb..271bc7e60b92e2c2ba7c2734ccfd6941adc9db5a 100644 (file)
@@ -18,7 +18,7 @@ type ClientImpl interface {
 
 // Data storage bound to a torrent.
 type TorrentImpl struct {
-       Piece func(metainfo.Piece) PieceImpl
+       Piece func(metainfo.Piece) PieceImpl
        Close func() error
        // Storages that share the same value, will provide a pointer to the same function.
        Capacity *func() *int64