From 2c80166f55cdc0d587d2f9d93b90e43d768cec49 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 12 Jun 2016 21:39:26 +0200 Subject: typo --- meta/torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/torrent.go') diff --git a/meta/torrent.go b/meta/torrent.go index 656e2c9..d6a68dc 100644 --- a/meta/torrent.go +++ b/meta/torrent.go @@ -26,7 +26,7 @@ func (i Info) SingleFile() bool { return len(i.Files) > 0 } -// PieceCopunt returns count of full pieces and size of last piece +// PieceCount returns count of full pieces and size of last piece func (i Info) PieceCount() (int, int) { return i.Length / i.PieceLength, i.Length % i.PieceLength } -- cgit v1.2.3