[go: nahoru, domu]

Skip to content

Commit

Permalink
chore: rustfmt 2 (#2762)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Mar 6, 2024
1 parent 4ff54be commit 56a55b5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ethers-providers/src/rpc/transports/legacy_ws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,12 @@ impl Ws {
/// The websocket connection must be initiated separately.
pub fn new<S>(ws: S) -> Self
where
S: Send + Sync + Stream<Item = WsStreamItem> + Sink<Message, Error = WsError> + Unpin + 'static,
S: Send
+ Sync
+ Stream<Item = WsStreamItem>
+ Sink<Message, Error = WsError>
+ Unpin
+ 'static,
{
let (sink, stream) = mpsc::unbounded();
// Spawn the server
Expand Down

0 comments on commit 56a55b5

Please sign in to comment.