Skip to content

Commit 57d0f2b

Browse files
committed
Allow large enum variant for Server enum
This enum should eventually go away and the usage is limited so I've supressed the warning rather than box the large variant.
1 parent 193999d commit 57d0f2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/server.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use conduit_hyper::Service;
1313
use futures_util::future::FutureExt;
1414
use reqwest::blocking::Client;
1515

16+
#[allow(clippy::large_enum_variant)]
1617
enum Server {
1718
Civet(CivetServer),
1819
Hyper(tokio::runtime::Runtime, tokio::task::JoinHandle<()>),

0 commit comments

Comments
 (0)