From 679c0332715dbeb0fa84bd14341a9fac58c7280a Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 4 Jun 2015 14:25:52 +1000 Subject: [PATCH] Clarify Example_fileReader --- example_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example_test.go b/example_test.go index 002f507d..9dc7502c 100644 --- a/example_test.go +++ b/example_test.go @@ -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. } -- 2.48.1