Skip to content

Commit

Permalink
Silence erroneous lint
Browse files Browse the repository at this point in the history
Seems known as per rust-lang/rust-clippy#3071.
  • Loading branch information
phimuemue committed May 2, 2021
1 parent a0d8612 commit 667b41c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/src/subcommands/websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ impl STable {
if_then_some!(let VStockOrT::OrT(ref game) = gameresult.stockorgame,
game.rules.as_ref()
),
|_epi| vec![],
|_epi| Vec::new(),
|epi, otimeoutcmd| {
if !mapepib_confirmed[epi] {
ask_with_timeout(
Expand Down Expand Up @@ -688,7 +688,7 @@ impl STable {
self.players.for_each(
/*oslcstich*/None,
None,
|_epi| vec![],
|_epi| Vec::new(),
|_oepi, _otimeoutcmd| VMessage::Info("Waiting for more players.".into()),
|_peer| VMessage::Info("Waiting for more players.".into()),
None,
Expand Down

0 comments on commit 667b41c

Please sign in to comment.