]> Sergey Matveev's repositories - btrtrc.git/blobdiff - example_test.go
Clarify Example_fileReader
[btrtrc.git] / example_test.go
index 002f507d28a89edcc74f92365032de1e873397ef..9dc7502c314afaf5e0c7c9b75c9dec64aa00c51d 100644 (file)
@@ -24,6 +24,7 @@ func Example_fileReader() {
        )
        r := t.NewReader()
        defer r.Close()
+       // Access the parts of the torrent pertaining to f. Data will be
+       // downloaded as required, per the configuration of the torrent.Reader.
        _ = io.NewSectionReader(r, f.Offset(), f.Length())
-       // fr will read from the parts of the torrent pertaining to f.
 }