Skip to content

Commit aa22f87

Browse files
committed
Fix style
Signed-off-by: Michael X. Grey <[email protected]>
1 parent 858c7e6 commit aa22f87

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

src/builder.rs

+10-15
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ use std::future::Future;
2222
use smallvec::SmallVec;
2323

2424
use crate::{
25-
Accessed, Accessible, AddOperation, AsMap, Buffer, BufferKeys, BufferLocation, BufferMap, BufferSettings,
26-
Bufferable, Buffered, Chain, Collect, ForkClone, ForkCloneOutput, ForkTargetStorage, Gate,
27-
GateRequest, IncompatibleLayout, Injection, InputSlot, IntoAsyncMap, IntoBlockingMap, Joinable,
28-
JoinedValue, Node, OperateBuffer, OperateBufferAccess, OperateDynamicGate,
29-
OperateScope, OperateSplit, OperateStaticGate, Output, Provider, RequestOfMap, ResponseOfMap,
30-
Scope, ScopeEndpoints, ScopeSettings, ScopeSettingsStorage, Sendish, Service, SplitOutputs,
31-
Splittable, StreamPack, StreamTargetMap, StreamsOfMap, Trim, TrimBranch, UnusedTarget,
25+
Accessed, Accessible, AddOperation, AsMap, Buffer, BufferKeys, BufferLocation, BufferMap,
26+
BufferSettings, Bufferable, Buffered, Chain, Collect, ForkClone, ForkCloneOutput,
27+
ForkTargetStorage, Gate, GateRequest, IncompatibleLayout, Injection, InputSlot, IntoAsyncMap,
28+
IntoBlockingMap, Joinable, JoinedValue, Node, OperateBuffer, OperateBufferAccess,
29+
OperateDynamicGate, OperateScope, OperateSplit, OperateStaticGate, Output, Provider,
30+
RequestOfMap, ResponseOfMap, Scope, ScopeEndpoints, ScopeSettings, ScopeSettingsStorage,
31+
Sendish, Service, SplitOutputs, Splittable, StreamPack, StreamTargetMap, StreamsOfMap, Trim,
32+
TrimBranch, UnusedTarget,
3233
};
3334

3435
pub(crate) mod connect;
@@ -232,10 +233,7 @@ impl<'w, 's, 'a> Builder<'w, 's, 'a> {
232233
}
233234

234235
/// Alternative way of calling [`Joinable::join`]
235-
pub fn join<'b, B: Joinable>(
236-
&'b mut self,
237-
buffers: B,
238-
) -> Chain<'w, 's, 'a, 'b, B::Item> {
236+
pub fn join<'b, B: Joinable>(&'b mut self, buffers: B) -> Chain<'w, 's, 'a, 'b, B::Item> {
239237
buffers.join(self)
240238
}
241239

@@ -248,10 +246,7 @@ impl<'w, 's, 'a> Builder<'w, 's, 'a> {
248246
}
249247

250248
/// Alternative way of calling [`Accessible::listen`].
251-
pub fn listen<'b, B: Accessible>(
252-
&'b mut self,
253-
buffers: B,
254-
) -> Chain<'w, 's, 'a, 'b, B::Keys> {
249+
pub fn listen<'b, B: Accessible>(&'b mut self, buffers: B) -> Chain<'w, 's, 'a, 'b, B::Keys> {
255250
buffers.listen(self)
256251
}
257252

0 commit comments

Comments
 (0)