Просмотр исходного кода

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

epiphany 7 месяцев назад
Родитель
Сommit
82139d9c0c
1 измененных файлов с 1 добавлено и 3 удалено
  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
 //! a connection.
 //!
-//! [`ChannelBuilder`] is used to create new direct connections.
-//!
 //! If there is no slots in the outbound session, the direct session can
-//! optionnally handle peer discovery.
+//! optionally handle peer discovery.
 
 use std::{
     collections::HashMap,