]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Fix comment that seems to mess with GoLand's package structure
authorMatt Joiner <anacrolix@gmail.com>
Thu, 7 Oct 2021 01:09:52 +0000 (12:09 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 7 Oct 2021 01:09:52 +0000 (12:09 +1100)
torrent.go

index bfa84366aa4a8cd7aa7392e77e66af8dfcf0a8ba..5693ef1c698cc842174193009e890e3cc22e2d6d 100644 (file)
@@ -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