mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm redundant pin_mut (#2072)
This commit is contained in:
@ -124,8 +124,7 @@ where
|
||||
|
||||
let ctrl_c = tokio::signal::ctrl_c();
|
||||
|
||||
pin_mut!(ctrl_c, fut);
|
||||
pin_mut!(sigterm, fut);
|
||||
pin_mut!(sigterm, ctrl_c, fut);
|
||||
|
||||
tokio::select! {
|
||||
_ = ctrl_c => {
|
||||
|
||||
Reference in New Issue
Block a user