From 28e9064288225b35525644d80ccf2f12cdc014f6 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 7 Oct 2021 12:09:52 +1100 Subject: [PATCH] Fix comment that seems to mess with GoLand's package structure --- torrent.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.48.1