From 1d5b8f7451ca9ba6c1bb9582b6652bee420b8c4f Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Wed, 22 Jan 2020 15:56:16 +1100 Subject: [PATCH] Reflow some comments --- conn_stats.go | 5 ++--- torrent.go | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/conn_stats.go b/conn_stats.go index 3a0216f5..bb2bc26b 100644 --- a/conn_stats.go +++ b/conn_stats.go @@ -34,9 +34,8 @@ type ConnStats struct { // Number of pieces data was written to, that subsequently passed verification. PiecesDirtiedGood Count - // Number of pieces data was written to, that subsequently failed - // verification. Note that a connection may not have been the sole dirtier - // of a piece. + // Number of pieces data was written to, that subsequently failed verification. Note that a + // connection may not have been the sole dirtier of a piece. PiecesDirtiedBad Count } diff --git a/torrent.go b/torrent.go index 5bb013bc..32db5146 100644 --- a/torrent.go +++ b/torrent.go @@ -1769,8 +1769,8 @@ func (t *Torrent) AddClientPeer(cl *Client) { }()) } -// All stats that include this Torrent. Useful when we want to increment -// ConnStats but not for every connection. +// All stats that include this Torrent. Useful when we want to increment ConnStats but not for every +// connection. func (t *Torrent) allStats(f func(*ConnStats)) { f(&t.stats) f(&t.cl.stats) -- 2.48.1