diff options
author | hozan23 <hozan23@proton.me> | 2023-12-02 05:10:33 +0300 |
---|---|---|
committer | hozan23 <hozan23@proton.me> | 2023-12-02 05:10:33 +0300 |
commit | 8cdc44b24724acf7dd458e59f5ceed4af04574be (patch) | |
tree | 1e0aad5a905508c54f7d9be4d4b800b7e8f7d532 /net/src | |
parent | 5111a3d5749625c3d8e26a24a5a32c4da58f18d3 (diff) |
Ensure uniform usage of the name `karyon` across all files
Diffstat (limited to 'net/src')
-rw-r--r-- | net/src/connection.rs | 2 | ||||
-rw-r--r-- | net/src/endpoint.rs | 4 | ||||
-rw-r--r-- | net/src/error.rs | 2 | ||||
-rw-r--r-- | net/src/lib.rs | 4 | ||||
-rw-r--r-- | net/src/listener.rs | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/net/src/connection.rs b/net/src/connection.rs index 3c047a0..73606a2 100644 --- a/net/src/connection.rs +++ b/net/src/connection.rs @@ -40,7 +40,7 @@ pub trait Connection: Send + Sync { /// #Example /// /// ``` -/// use karyons_net::{Endpoint, dial}; +/// use karyon_net::{Endpoint, dial}; /// /// async { /// let endpoint: Endpoint = "tcp://127.0.0.1:3000".parse().unwrap(); diff --git a/net/src/endpoint.rs b/net/src/endpoint.rs index 1a1f975..fdb2735 100644 --- a/net/src/endpoint.rs +++ b/net/src/endpoint.rs @@ -13,14 +13,14 @@ use crate::{Error, Result}; /// Port defined as a u16. pub type Port = u16; -/// Endpoint defines generic network endpoints for karyons. +/// Endpoint defines generic network endpoints for karyon. /// /// # Example /// /// ``` /// use std::net::SocketAddr; /// -/// use karyons_net::Endpoint; +/// use karyon_net::Endpoint; /// /// let endpoint: Endpoint = "tcp://127.0.0.1:3000".parse().unwrap(); /// diff --git a/net/src/error.rs b/net/src/error.rs index 5dd6348..0d96d64 100644 --- a/net/src/error.rs +++ b/net/src/error.rs @@ -35,7 +35,7 @@ pub enum Error { InvalidDnsNameError(#[from] async_rustls::rustls::client::InvalidDnsNameError), #[error(transparent)] - KaryonsCore(#[from] karyons_core::error::Error), + KaryonCore(#[from] karyon_core::error::Error), } impl<T> From<smol::channel::SendError<T>> for Error { diff --git a/net/src/lib.rs b/net/src/lib.rs index ff466af..5b9bdd7 100644 --- a/net/src/lib.rs +++ b/net/src/lib.rs @@ -18,8 +18,8 @@ pub use { use error::{Error, Result}; -/// Represents karyons's Net Error +/// Represents karyon's Net Error pub use error::Error as NetError; -/// Represents karyons's Net Result +/// Represents karyon's Net Result pub use error::Result as NetResult; diff --git a/net/src/listener.rs b/net/src/listener.rs index cab5330..f12f33e 100644 --- a/net/src/listener.rs +++ b/net/src/listener.rs @@ -27,7 +27,7 @@ pub trait ConnListener: Send + Sync { /// #Example /// /// ``` -/// use karyons_net::{Endpoint, listen}; +/// use karyon_net::{Endpoint, listen}; /// /// async { /// let endpoint: Endpoint = "tcp://127.0.0.1:3000".parse().unwrap(); |