diff options
Diffstat (limited to 'azalea-client/src/plugins/auto_reconnect.rs')
| -rw-r--r-- | azalea-client/src/plugins/auto_reconnect.rs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/azalea-client/src/plugins/auto_reconnect.rs b/azalea-client/src/plugins/auto_reconnect.rs index bff72e5a..fd24f12c 100644 --- a/azalea-client/src/plugins/auto_reconnect.rs +++ b/azalea-client/src/plugins/auto_reconnect.rs @@ -14,14 +14,17 @@ use super::{ }; use crate::Account; -/// The default delay that Azalea will use for reconnecting our clients. See -/// [`AutoReconnectPlugin`] for more information. +/// The default delay that Azalea will use for reconnecting our clients. +/// +/// See [`AutoReconnectPlugin`] for more information. pub const DEFAULT_RECONNECT_DELAY: Duration = Duration::from_secs(5); /// A default plugin that makes clients automatically rejoin the server when -/// they're disconnected. The reconnect delay is configurable globally or -/// per-client with the [`AutoReconnectDelay`] resource/component. Auto -/// reconnecting can be disabled by removing the resource from the ECS. +/// they're disconnected. +/// +/// The reconnect delay is configurable globally or per-client with the +/// [`AutoReconnectDelay`] resource/component. Auto reconnecting can be disabled +/// by removing the resource from the ECS. /// /// The delay defaults to [`DEFAULT_RECONNECT_DELAY`]. pub struct AutoReconnectPlugin; |
