aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenauxg <19689618+Henauxg@users.noreply.github.com>2023-01-21 11:08:20 +0100
committerHenauxg <19689618+Henauxg@users.noreply.github.com>2023-01-21 11:08:20 +0100
commit027ea5e7e92fa62456a9570d9f00d4b851a06a96 (patch)
treead3e2383cbbca47feaa3b169999da61bf44b3f4a
parent3e0e4397e47ad0256996b17a676cc6f446c75adf (diff)
[client] Fix minor doc strings
-rw-r--r--src/client/connection.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/connection.rs b/src/client/connection.rs
index 3deda1f..21d452d 100644
--- a/src/client/connection.rs
+++ b/src/client/connection.rs
@@ -42,7 +42,7 @@ pub struct ConnectionLostEvent {
pub id: ConnectionId,
}
-/// Configuration of the client, used when connecting to a server
+/// Configuration of a client connection, used when connecting to a server
#[derive(Debug, Deserialize, Clone)]
pub struct ConnectionConfiguration {
server_host: String,
@@ -52,7 +52,7 @@ pub struct ConnectionConfiguration {
}
impl ConnectionConfiguration {
- /// Creates a new ClientConfigurationData
+ /// Creates a new ConnectionConfiguration
///
/// # Arguments
///