Skip to content

Commit

Permalink
Turns out that pin is unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Nov 25, 2023
1 parent 940ea27 commit 9a05b77
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ impl Runner {
} else {
Either::Left(conn)
};
tokio::pin!(conn);
let mut frame = Framed::new(conn, self.codec());
loop {
let event = tokio::select! {
Expand Down

0 comments on commit 9a05b77

Please sign in to comment.