Skip to content

Commit

Permalink
Merge pull request #70 from tox-rs/fix_kbucket
Browse files Browse the repository at this point in the history
fix(style): fix comment style for kbucket
  • Loading branch information
kpp authored Mar 26, 2018
2 parents f8ce917 + 46f3bc3 commit 2d46c0a
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 2d46c0a

Please sign in to comment.