aboutsummaryrefslogtreecommitdiff
path: root/src/server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.rs')
-rw-r--r--src/server.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.rs b/src/server.rs
index b08a8d0..bde4419 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -62,6 +62,7 @@ impl ServerConfigurationData {
/// # Examples
///
/// ```
+ /// use bevy_quinnet::server::ServerConfigurationData;
/// let config = ServerConfigurationData::new(
/// "127.0.0.1".to_string(),
/// 6000,
@@ -399,11 +400,10 @@ async fn endpoint_task(
let endpoint = QuinnEndpoint::server(endpoint_config, endpoint_adr)
.expect("Failed to create the endpoint");
-
// Handle incoming connections/clients.
tokio::select! {
_ = close_receiver.recv() => {
- trace!("Endpoint incoming connection handler received a requets to close")
+ trace!("Endpoint incoming connection handler received a request to close")
}
_ = async {
while let Some(connecting) = endpoint.accept().await {