Skip to content

Commit

Permalink
mqtt: fir dump list logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Nov 21, 2024
1 parent e61e257 commit 9056ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miniconf_mqtt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ where
// Internal node: Dump or List
(state.state() != &sm::States::Single)
.then_some("Pending multipart response")
.or(Multipart::try_from(properties)
.or_else(|| Multipart::try_from(properties)
.map(|m| {
*pending = m.root(path).unwrap(); // Note(unwrap) checked that it's TooShort but valid leaf
state.process_event(sm::Events::Multipart).unwrap();
Expand Down

0 comments on commit 9056ada

Please sign in to comment.