Skip to content

Commit

Permalink
fix: don't expose waiters outside crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Devdutt Shenoi committed Oct 1, 2024
1 parent b6d447d commit 23e4d9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rumqttc/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub struct MqttState {
/// Indicates if acknowledgements should be send immediately
pub manual_acks: bool,
/// Waiters for publish/subscribe/unsubscribe acknowledgements
pub ack_waiter: Vec<Option<PromiseTx>>,
ack_waiter: Vec<Option<PromiseTx>>,
}

impl MqttState {
Expand Down
2 changes: 1 addition & 1 deletion rumqttc/src/v5/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub struct MqttState {
/// Upper limit on the maximum number of allowed inflight QoS1 & QoS2 requests
max_outgoing_inflight_upper_limit: u16,
/// Waiters for publish/subscribe/unsubscribe acknowledgements
pub ack_waiter: Vec<Option<PromiseTx>>,
ack_waiter: Vec<Option<PromiseTx>>,
}

impl MqttState {
Expand Down

0 comments on commit 23e4d9a

Please # to comment.