From b663f1eeec2f1e1badaf4d0c85c3101b75127b01 Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Tue, 18 Jun 2024 18:56:58 -0400 Subject: [PATCH] fix new clippy lints (#1781) --- crates/harness/src/monolith.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/harness/src/monolith.rs b/crates/harness/src/monolith.rs index 07ac47315..18b8f543c 100644 --- a/crates/harness/src/monolith.rs +++ b/crates/harness/src/monolith.rs @@ -498,7 +498,7 @@ impl MonolithBuilder { self.add_mock_http_raw(path, parts, body.into()) } - pub fn behavior(mut self, behavior: impl Behavior + Send + 'static) -> Self { + pub fn behavior(mut self, behavior: impl Behavior + 'static) -> Self { self.behavior = Some(Box::new(behavior)); self }