Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Commit 56a55b5

Browse files
authored
chore: rustfmt 2 (#2762)
1 parent 4ff54be commit 56a55b5

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

ethers-providers/src/rpc/transports/legacy_ws.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,12 @@ impl Ws {
123123
/// The websocket connection must be initiated separately.
124124
pub fn new<S>(ws: S) -> Self
125125
where
126-
S: Send + Sync + Stream<Item = WsStreamItem> + Sink<Message, Error = WsError> + Unpin + 'static,
126+
S: Send
127+
+ Sync
128+
+ Stream<Item = WsStreamItem>
129+
+ Sink<Message, Error = WsError>
130+
+ Unpin
131+
+ 'static,
127132
{
128133
let (sink, stream) = mpsc::unbounded();
129134
// Spawn the server

0 commit comments

Comments
 (0)