Skip to content

Commit 445ccd4

Browse files
committed
cloudevents#9 Encoders for MQTT
Signed-off-by: Subhobrata Dey <[email protected]>
1 parent f5c3e8a commit 445ccd4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cloudevents-sdk-paho-mqtt/src/mqtt_producer_record.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,8 @@ impl MessageBuilderExt for MessageBuilder {
141141
}
142142

143143
match message_record.payload {
144-
Some(s) =>
145-
self = self.payload(s),
146-
None => ()
144+
Some(s) => self = self.payload(s),
145+
None => (),
147146
}
148147

149148
self

0 commit comments

Comments
 (0)