Skip to content

Commit

Permalink
#9 Encoders for MQTT
Browse files Browse the repository at this point in the history
  • Loading branch information
sbcd90 committed Jan 25, 2021
1 parent f5c3e8a commit c9a9a2a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cloudevents-sdk-paho-mqtt/src/mqtt_producer_record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,8 @@ impl MessageBuilderExt for MessageBuilder {
}

match message_record.payload {
Some(s) =>
self = self.payload(s),
None => ()
Some(s) => self = self.payload(s),
None => (),
}

self
Expand Down

0 comments on commit c9a9a2a

Please sign in to comment.