diff --git a/protocols/kad/src/behaviour.rs b/protocols/kad/src/behaviour.rs index 153d337e88b..31568b0f9a8 100644 --- a/protocols/kad/src/behaviour.rs +++ b/protocols/kad/src/behaviour.rs @@ -927,10 +927,10 @@ where /// > See [`Behaviour::add_address`]. /// /// > **Note**: Bootstrap does not require to be called manually. It is periodically - /// invoked at regular intervals based on the configured `periodic_bootstrap_interval` and - /// `automatic_bootstrap_throttle` (see [`Config::set_periodic_bootstrap_interval`] for details) - /// and it is also automatically invoked when a new peer is inserted in the routing table. - /// These two config parameters are used to call [`Behaviour::bootstrap`] periodically and automatically + /// invoked at regular intervals based on the configured `periodic_bootstrap_interval` (see + /// [`Config::set_periodic_bootstrap_interval`] for details) and it is also automatically invoked + /// when a new peer is inserted in the routing table. + /// This parameter is used to call [`Behaviour::bootstrap`] periodically and automatically /// to ensure a healthy routing table. pub fn bootstrap(&mut self) -> Result { let local_key = self.kbuckets.local_key().clone();