Skip to content

Commit

Permalink
stamp: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nyannyacha committed Nov 12, 2024
1 parent 8942561 commit ae41e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/base/src/rt_worker/worker_ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ async fn handle_request(
let request_idle_timeout_ms = flags.request_idle_timeout_ms;
let request_buf_size = flags.request_buffer_size.unwrap_or_else(|| {
const KIB: usize = 1024;
static CHECK: Lazy<AtomicFlag> = Lazy::new(|| AtomicFlag::default());
static CHECK: Lazy<AtomicFlag> = Lazy::new(AtomicFlag::default);

if !CHECK.is_raised() {
CHECK.raise();
Expand Down

0 comments on commit ae41e95

Please sign in to comment.