Skip to content

Commit

Permalink
added feature gate
Browse files Browse the repository at this point in the history
  • Loading branch information
minghuaw committed Jul 26, 2022
1 parent 9ba109a commit 0ddd965
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fe2o3-amqp/src/link/delivery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ impl<T: std::fmt::Display> std::fmt::Display for Delivery<T> {
}

impl<T> Delivery<T> {
#[cfg(all(feature = "transaction", feature = "acceptor"))]
pub(crate) fn into_info(self) -> DeliveryInfo {
DeliveryInfo {
delivery_id: self.delivery_id,
Expand Down

0 comments on commit 0ddd965

Please sign in to comment.