Skip to content

Commit 6eea8ed

Browse files
committed
chore: fmt
1 parent a049272 commit 6eea8ed

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

examples/compute.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::{
77
use anyhow::bail;
88
use futures_buffered::BufferedStreamExt;
99
use irpc::{
10-
channel::{oneshot, mpsc},
10+
channel::{mpsc, oneshot},
1111
rpc::{listen, Handler},
1212
rpc_requests,
1313
util::{make_client_endpoint, make_server_endpoint},

examples/derive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use std::{
66

77
use anyhow::{Context, Result};
88
use irpc::{
9-
channel::{oneshot, mpsc},
9+
channel::{mpsc, oneshot},
1010
rpc::Handler,
1111
rpc_requests,
1212
util::{make_client_endpoint, make_server_endpoint},

examples/storage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use std::{
66

77
use anyhow::bail;
88
use irpc::{
9-
channel::{none::NoReceiver, oneshot, mpsc},
9+
channel::{mpsc, none::NoReceiver, oneshot},
1010
rpc::{listen, Handler},
1111
util::{make_client_endpoint, make_server_endpoint},
1212
Channels, Client, LocalSender, Request, Service, WithChannels,

irpc-iroh/examples/auth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ mod storage {
7272
Endpoint,
7373
};
7474
use irpc::{
75-
channel::{oneshot, mpsc},
75+
channel::{mpsc, oneshot},
7676
Client, Service, WithChannels,
7777
};
7878
// Import the macro

irpc-iroh/examples/derive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ mod storage {
6060
use anyhow::{Context, Result};
6161
use iroh::{protocol::ProtocolHandler, Endpoint};
6262
use irpc::{
63-
channel::{oneshot, mpsc},
63+
channel::{mpsc, oneshot},
6464
rpc::Handler,
6565
rpc_requests, Client, LocalSender, Service, WithChannels,
6666
};

src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,10 +1118,9 @@ pub mod rpc {
11181118

11191119
use crate::{
11201120
channel::{
1121-
none::NoSender,
1122-
oneshot,
11231121
mpsc::{self, DynReceiver, DynSender},
1124-
RecvError, SendError,
1122+
none::NoSender,
1123+
oneshot, RecvError, SendError,
11251124
},
11261125
util::{now_or_never, AsyncReadVarintExt, WriteVarintExt},
11271126
RequestError, RpcMessage,

0 commit comments

Comments
 (0)