Skip to content

Commit b5a6f67

Browse files
cargo fmt
1 parent 0804360 commit b5a6f67

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/api.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ use crate::responses::{
2626
WarmStandbyReplicationStatus,
2727
};
2828
use crate::{
29-
commons::{
30-
BindingDestinationType, SupportedProtocol, UserLimitTarget,
31-
VirtualHostLimitTarget,
32-
},
29+
commons::{BindingDestinationType, SupportedProtocol, UserLimitTarget, VirtualHostLimitTarget},
3330
path,
3431
requests::{
3532
self, BulkUserDelete, EnforcedLimitParams, ExchangeParams, Permissions, PolicyParams,
@@ -422,7 +419,10 @@ where
422419
/// Channel name is usually obtained from `crate::responses::Channel`,
423420
/// e.g. via `Client#list_channels`, `Client#list_channels_in`, `Client#list_channels_on`.
424421
/// See [Channels Guide](https://www.rabbitmq.com/docs/channels) to learn more.
425-
pub async fn get_channel_info<S: AsRef<str>>(&self, channel_name: S) -> Result<responses::Channel> {
422+
pub async fn get_channel_info<S: AsRef<str>>(
423+
&self,
424+
channel_name: S,
425+
) -> Result<responses::Channel> {
426426
self.get_api_request(path!("channels", channel_name.as_ref()))
427427
.await
428428
}

src/blocking_api.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ use crate::responses::{
2525
OAuthConfiguration, VirtualHostDefinitionSet, WarmStandbyReplicationStatus,
2626
};
2727
use crate::{
28-
commons::{
29-
BindingDestinationType, SupportedProtocol, UserLimitTarget,
30-
VirtualHostLimitTarget,
31-
},
28+
commons::{BindingDestinationType, SupportedProtocol, UserLimitTarget, VirtualHostLimitTarget},
3229
path,
3330
requests::{
3431
self, BulkUserDelete, EnforcedLimitParams, ExchangeParams, Permissions, PolicyParams,

tests/async_channel_tests.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14-
use amqprs::{channel::ConfirmSelectArguments, connection::{Connection, OpenConnectionArguments}};
14+
use amqprs::{
15+
channel::ConfirmSelectArguments,
16+
connection::{Connection, OpenConnectionArguments},
17+
};
1518
use rabbitmq_http_client::api::Client;
1619
use std::time::Duration;
1720

0 commit comments

Comments
 (0)