chore: fix typo

This commit is contained in:
draoi
2024-01-29 11:15:59 +01:00
parent e631e8ce68
commit ae154de787

View File

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