summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2024-03-21 13:46:43 +0100
committerMatthias Beyer <mail@beyermatthias.de>2024-03-21 13:46:43 +0100
commitfb2f05781296a9ecbb99ade08508264758bbcf42 (patch)
treea0ca58158ab731ddc406c71af9bcbae224e989b3
parenta45b6ef603d821a37159e66e69454085c85f7f83 (diff)
fixup! Implement MPuback::write
-rw-r--r--mqtt-format/src/v5/packets/puback.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mqtt-format/src/v5/packets/puback.rs b/mqtt-format/src/v5/packets/puback.rs
index 15279be..39a53cf 100644
--- a/mqtt-format/src/v5/packets/puback.rs
+++ b/mqtt-format/src/v5/packets/puback.rs
@@ -74,7 +74,7 @@ impl<'i> MPuback<'i> {
}
pub async fn write<W: WriteMqttPacket>(&self, buffer: &mut W) -> WResult<W> {
- self.packet_identifer.write(buffer).await?;
+ self.packet_identifier.write(buffer).await?;
self.reason.write(buffer).await?;
self.properties.write(buffer).await
}