Skip to content

Commit

Permalink
fix(style): fix comment style for kbucket
Browse files Browse the repository at this point in the history
  • Loading branch information
kpp committed Mar 26, 2018
1 parent f8ce917 commit 46f3bc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/toxcore/dht/kbucket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46f3bc3

Please sign in to comment.