Explorar el Código

net/direct_session: remove `ChannelBuilder` reference and fix typo in comment

epiphany hace 7 meses
padre
commit
82139d9c0c
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      src/net/session/direct_session.rs

+ 1 - 3
src/net/session/direct_session.rs

@@ -24,10 +24,8 @@
 //! do not loop continually, once stopped the session will not try to reopen
 //! do not loop continually, once stopped the session will not try to reopen
 //! a connection.
 //! a connection.
 //!
 //!
-//! [`ChannelBuilder`] is used to create new direct connections.
-//!
 //! If there is no slots in the outbound session, the direct session can
 //! If there is no slots in the outbound session, the direct session can
-//! optionnally handle peer discovery.
+//! optionally handle peer discovery.
 
 
 use std::{
 use std::{
     collections::HashMap,
     collections::HashMap,