From 65c85152562b2c61a4675d677234fa01168cf54a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Kripalani?= Date: Thu, 14 May 2020 17:22:11 +0100 Subject: [PATCH] minor godoc fixes. --- connmgr/decay.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/connmgr/decay.go b/connmgr/decay.go index 62b7725..7407567 100644 --- a/connmgr/decay.go +++ b/connmgr/decay.go @@ -20,15 +20,14 @@ import ( // the new value. // // Such a pluggable design affords a great deal of flexibility and versatility. -// Behaviours that are straightfoward to implement include: +// Behaviours that are straightforward to implement include: // // * Decay a tag by -1, or by half its current value, on every tick. // * Every time a value is bumped, sum it to its current value. // * Exponentially boost a score with every bump. // * Sum the incoming score, but keep it within min, max bounds. // -// Commonly used DecayFns and BumpFns are provided in the go-libp2p-connmgr -// module. +// Commonly used DecayFns and BumpFns are provided in this package. type Decayer interface { io.Closer -- GitLab