Quellcode durchsuchen

chore: fix typo

draoi vor 2 Jahren
Ursprung
Commit
ae154de787
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/net/protocol/protocol_version.rs

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

@@ -43,7 +43,7 @@ impl ProtocolVersion {
     /// Create a new version protocol. Makes a version and version ack
     /// Create a new version protocol. Makes a version and version ack
     /// subscription, then adds them to a version protocol instance.
     /// subscription, then adds them to a version protocol instance.
     pub async fn new(channel: ChannelPtr, settings: SettingsPtr) -> Arc<Self> {
     pub async fn new(channel: ChannelPtr, settings: SettingsPtr) -> Arc<Self> {
-        // Creates a versi5on subscription
+        // Creates a version subscription
         let version_sub =
         let version_sub =
             channel.subscribe_msg::<VersionMessage>().await.expect("Missing version dispatcher!");
             channel.subscribe_msg::<VersionMessage>().await.expect("Missing version dispatcher!");