From a45d13f01c27b610ff6baae20b6a09523c6f5c67 Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Sun, 28 Jul 2024 12:20:59 +0200 Subject: [PATCH] A little compacter Signed-off-by: Alex Snaps --- src/filter/http_context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filter/http_context.rs b/src/filter/http_context.rs index d660fa18..5e4f6a09 100644 --- a/src/filter/http_context.rs +++ b/src/filter/http_context.rs @@ -146,7 +146,7 @@ impl Filter { "#{} pattern_expression_applies: selector not found: {}, defaulting to ``", self.context_id, p_e.selector ); - "".to_string().as_bytes().to_vec() + b"".to_vec() } Some(attribute_bytes) => attribute_bytes, };