Skip to content

Commit fcbdf56

Browse files
author
alk888
committed
fix formating
1 parent 7d0139e commit fcbdf56

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/client/dispatcher.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
use futures::Stream;
22
use rabbitmq_stream_protocol::Response;
3-
use std::sync::{atomic::{AtomicBool, AtomicU32, Ordering}, Arc};
3+
use std::sync::{
4+
atomic::{AtomicBool, AtomicU32, Ordering},
5+
Arc,
6+
};
47
use tracing::trace;
58

69
use dashmap::DashMap;
@@ -34,14 +37,14 @@ impl<T> Clone for DispatcherState<T> {
3437

3538
struct RequestsMap {
3639
requests: DashMap<u32, Sender<Response>>,
37-
closed: AtomicBool
40+
closed: AtomicBool,
3841
}
3942

4043
impl RequestsMap {
4144
fn new() -> RequestsMap {
4245
RequestsMap {
4346
requests: DashMap::new(),
44-
closed: AtomicBool::new(false)
47+
closed: AtomicBool::new(false),
4548
}
4649
}
4750

0 commit comments

Comments
 (0)