Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
loongs-zhang committed Jan 30, 2024
1 parent c9356d2 commit 8e271c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monoio/src/net/tcp/tfo/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub(crate) static TFO_CONNECT_AVAILABLE: Cell<bool> = Cell::new(true);

#[cfg(not(feature = "unstable"))]
thread_local! {
pub(crate) static TFO_CONNECT_AVAILABLE: Cell<bool> = Cell::new(true);
pub(crate) static TFO_CONNECT_AVAILABLE: Cell<bool> = const { Cell::new(true) };
}

/// Call before listen.
Expand Down

0 comments on commit 8e271c0

Please sign in to comment.