Skip to content

Commit

Permalink
Moar clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Snaps <[email protected]>
  • Loading branch information
alexsnaps committed Oct 22, 2024
1 parent 07ed642 commit ff92dc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/data/property.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pub mod test {
use std::cell::Cell;

thread_local!(
pub static TEST_PROPERTY_VALUE: Cell<Option<Vec<u8>>> = Cell::new(None);
pub static TEST_PROPERTY_VALUE: Cell<Option<Vec<u8>>> = const { Cell::new(None) };
);

#[test]
Expand Down
2 changes: 1 addition & 1 deletion src/operation_dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ fn conditions_apply_fn(action: &Action) -> bool {

#[cfg(test)]
mod tests {
use std::cell::OnceCell;
use super::*;
use crate::configuration::Timeout;
use crate::envoy::RateLimitRequest;
use protobuf::RepeatedField;
use std::cell::OnceCell;
use std::time::Duration;

fn default_grpc_call_fn_stub(
Expand Down

0 comments on commit ff92dc9

Please sign in to comment.