2
0
mirror of synced 2025-02-23 14:18:13 +00:00

Fix compile error in example

This commit is contained in:
Matt Joiner 2015-06-03 13:48:57 +10:00
parent 0ecd03db32
commit 9f94ca79c1

View File

@ -24,6 +24,6 @@ func Example_fileReader() {
)
r := t.NewReader()
defer r.Close()
fr := io.NewSectionReader(r, f.Offset(), f.Length())
_ = io.NewSectionReader(r, f.Offset(), f.Length())
// fr will read from the parts of the torrent pertaining to f.
}