From 4b5f56e3d3dfd38eec3cdf9d7c3a775fd1ad3929 Mon Sep 17 00:00:00 2001 From: Maksym Kulish Date: Fri, 27 Oct 2023 05:46:25 +0300 Subject: [PATCH] Cargo fmt --- src/lib.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index bf8f243..5b19534 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -91,15 +91,17 @@ impl VCRMiddleware { self } - pub fn with_modify_request(mut self, modifier: F) -> Self - where F: Fn(&mut vcr_cassette::Request) + Send + Sync + 'static + pub fn with_modify_request(mut self, modifier: F) -> Self + where + F: Fn(&mut vcr_cassette::Request) + Send + Sync + 'static, { self.modify_request.replace(Box::new(modifier)); self } pub fn with_modify_response(mut self, modifier: F) -> Self - where F: Fn(&mut vcr_cassette::Response) + Send + Sync + 'static + where + F: Fn(&mut vcr_cassette::Response) + Send + Sync + 'static, { self.modify_response.replace(Box::new(modifier)); self