Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: typo fixes on docs
Fintan Halpenny committed 7 months ago
commit 0c641dccc78175566330ebdd6276d37a5569b3cf
parent a5d03f208fa44f951871b3489c9cf93514299195
1 file changed +3 -3
modified crates/radicle-node/src/reactor/transport.rs
@@ -23,7 +23,7 @@ pub enum SessionEvent<S: Session> {
/// A state of [`Transport`] network transport.
#[derive(Clone, Copy, Ord, PartialOrd, Eq, PartialEq, Hash, Debug)]
pub enum TransportState {
-
    /// The transport is initiated, but the connection has not established yet.
+
    /// The transport is initiated, but the connection has not been established yet.
    /// This happens only for outgoing connections due to the use of
    /// non-blocking calls to `connect`. The state changes once
    /// we receive the first notification on a `write` event on this resource
@@ -40,13 +40,13 @@ pub enum TransportState {

    /// Session was terminated (for an unspecified reason, e.g. local shutdown,
    /// remote orderly shutdown, connectivity issue, dropped connections,
-
    /// encryption or authentication problem etc.
+
    /// encryption, or authentication problem etc.
    /// Reading and writing from the resource in
    /// this state will result in an error ([`io::Error`]).
    Terminated,
}

-
/// Transport is an adaptor a around specific [`Session`] (implementing
+
/// Transport is an adaptor around a specific [`Session`] (implementing
/// session management, including optional handshake, encoding, etc.) to be used
/// as a transport resource in a [`crate::reactor::Reactor`].
#[derive(Debug)]