From 310309caf36dbd319581ed068ef98bc211e4a0f6 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 31 Jan 2018 19:22:04 -0500 Subject: [PATCH] formatting fixup on easyamqp --- ofborg/src/easyamqp.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ofborg/src/easyamqp.rs b/ofborg/src/easyamqp.rs index 4f3a321..e3c57ed 100644 --- a/ofborg/src/easyamqp.rs +++ b/ofborg/src/easyamqp.rs @@ -84,7 +84,6 @@ pub struct BindQueueConfig { /// queue if K = R. pub routing_key: Option, - /// If set, the server will not respond to the method. The client /// should not wait for a reply method. If the server could not /// complete the method it will raise a channel or connection @@ -357,8 +356,7 @@ impl TypedWrappers for amqp::Channel { fn declare_exchange( &mut self, config: ExchangeConfig, - ) -> Result - { + ) -> Result { self.exchange_declare( config.exchange, config.exchange_type.into(), @@ -375,8 +373,7 @@ impl TypedWrappers for amqp::Channel { fn declare_queue( &mut self, config: QueueConfig, - ) -> Result - { + ) -> Result { self.queue_declare( config.queue, config.passive, @@ -391,8 +388,7 @@ impl TypedWrappers for amqp::Channel { fn bind_queue( &mut self, config: BindQueueConfig, - ) -> Result - { + ) -> Result { self.queue_bind( config.queue, config.exchange,