From: Matt Joiner Date: Thu, 7 Oct 2021 01:09:52 +0000 (+1100) Subject: Fix comment that seems to mess with GoLand's package structure X-Git-Tag: v1.33.0~2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=28e9064288225b35525644d80ccf2f12cdc014f6;p=btrtrc.git Fix comment that seems to mess with GoLand's package structure --- diff --git a/torrent.go b/torrent.go index bfa84366..5693ef1c 100644 --- a/torrent.go +++ b/torrent.go @@ -1154,9 +1154,9 @@ func (t *Torrent) byteRegionPieces(off, size int64) (begin, end pieceIndex) { return } -// Returns true if all iterations complete without breaking. Returns the read -// regions for all readers. The reader regions should not be merged as some -// callers depend on this method to enumerate readers. +// Returns true if all iterations complete without breaking. Returns the read regions for all +// readers. The reader regions should not be merged as some callers depend on this method to +// enumerate readers. func (t *Torrent) forReaderOffsetPieces(f func(begin, end pieceIndex) (more bool)) (all bool) { for r := range t.readers { p := r.pieces