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

doc: change protocol_version TODO to NOTE

draoi 2 лет назад
Родитель
Сommit
72c22d0124
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      src/net/protocol/protocol_version.rs

+ 3 - 3
src/net/protocol/protocol_version.rs

@@ -136,9 +136,9 @@ impl ProtocolVersion {
             connect_recv_addr: self.channel.connect_addr().clone(),
             connect_recv_addr: self.channel.connect_addr().clone(),
             resolve_recv_addr: self.channel.resolve_addr().clone(),
             resolve_recv_addr: self.channel.resolve_addr().clone(),
             ext_send_addr: self.settings.external_addrs.clone(),
             ext_send_addr: self.settings.external_addrs.clone(),
-            /* TODO: `features` is a list of enabled features in the
-            format Vec<(service, version)>.  Protocols will add their
-            own data to this field when they are attached.*/
+            /* NOTE: `features` is a list of enabled features in the
+            format Vec<(service, version)>. In the future, Protocols will
+            add their own data to this field when they are attached.*/
             features: vec![],
             features: vec![],
         };
         };
         self.channel.send(&version).await?;
         self.channel.send(&version).await?;