From 6337586eac6af8bb9494415822ac5570478d927d Mon Sep 17 00:00:00 2001 From: Martijn Swaagman Date: Tue, 3 Dec 2024 11:14:17 +0100 Subject: [PATCH] fix: formatting Signed-off-by: Martijn Swaagman --- examples/envoy_filter_metadata/src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/envoy_filter_metadata/src/lib.rs b/examples/envoy_filter_metadata/src/lib.rs index 5498697..e5f1905 100644 --- a/examples/envoy_filter_metadata/src/lib.rs +++ b/examples/envoy_filter_metadata/src/lib.rs @@ -39,11 +39,7 @@ impl HttpContext for MetadataHttp { 200, vec![("Powered-By", "proxy-wasm"), ("uppercased-metadata", &data)], Some( - format!( - "Custom response with Envoy metadata: {:?}\n", - data - ) - .as_bytes(), + format!("Custom response with Envoy metadata: {:?}\n", data).as_bytes(), ), ); Action::Pause