aboutsummaryrefslogtreecommitdiff
path: root/p2p/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/src/error.rs')
-rw-r--r--p2p/src/error.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/p2p/src/error.rs b/p2p/src/error.rs
index 6274d4c..11de0f1 100644
--- a/p2p/src/error.rs
+++ b/p2p/src/error.rs
@@ -2,7 +2,7 @@ use thiserror::Error as ThisError;
pub type Result<T> = std::result::Result<T, Error>;
-/// Represents karyons's p2p Error.
+/// Represents karyon's p2p Error.
#[derive(ThisError, Debug)]
pub enum Error {
#[error(transparent)]
@@ -75,10 +75,10 @@ pub enum Error {
ChannelRecv(#[from] smol::channel::RecvError),
#[error(transparent)]
- KaryonsCore(#[from] karyons_core::error::Error),
+ KaryonCore(#[from] karyon_core::error::Error),
#[error(transparent)]
- KaryonsNet(#[from] karyons_net::NetError),
+ KaryonNet(#[from] karyon_net::NetError),
}
impl<T> From<smol::channel::SendError<T>> for Error {