From 46f3bc3aeac56569c9abc1f661615214ef7678b5 Mon Sep 17 00:00:00 2001 From: Roman Proskuryakov Date: Thu, 22 Mar 2018 16:51:19 +0300 Subject: [PATCH] fix(style): fix comment style for kbucket --- src/toxcore/dht/kbucket.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/toxcore/dht/kbucket.rs b/src/toxcore/dht/kbucket.rs index 7f95e0254..22d14b0c7 100644 --- a/src/toxcore/dht/kbucket.rs +++ b/src/toxcore/dht/kbucket.rs @@ -366,7 +366,8 @@ impl Kbucket { let num = random_u64() % self.buckets[num_k as usize].nodes.len() as u64; Some(self.buckets[num_k as usize].nodes[num as usize]) } - /** Return the possible internal index of [`Bucket`](./struct.Bucket.html) + + /** Return the possible internal index of [`Bucket`](./struct.Bucket.html) where the key could be inserted/removed. Returns `Some(index)` if [`kbucket index`](./fn.kbucket_index.html) is