From 65f3a23b1e8532245cbb2ed4888cd1c28a5b8608 Mon Sep 17 00:00:00 2001 From: katelyn martin Date: Mon, 23 Sep 2024 00:00:00 +0000 Subject: [PATCH] chore(app): add `impl` banner comments the equivalent blocks in the parent `route.rs` file have the same `// === impl T ===` blocks that are added here. these are introduced, because they help visually group impl blocks when code in these files is folded. Signed-off-by: katelyn martin --- .../app/outbound/src/http/logical/policy/route/backend.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/linkerd/app/outbound/src/http/logical/policy/route/backend.rs b/linkerd/app/outbound/src/http/logical/policy/route/backend.rs index 6ee2c507a3..9005830546 100644 --- a/linkerd/app/outbound/src/http/logical/policy/route/backend.rs +++ b/linkerd/app/outbound/src/http/logical/policy/route/backend.rs @@ -44,7 +44,7 @@ impl Clone for Backend { } } -// === impl Matched === +// === impl MatchedBackend === impl From<(Backend, super::MatchedRoute)> for MatchedBackend @@ -133,6 +133,8 @@ impl svc::Param for MatchedBackend { } } +// === impl Http === + impl filters::Apply for Http { #[inline] fn apply_request(&self, req: &mut ::http::Request) -> Result<()> { @@ -160,6 +162,8 @@ impl metrics::MkStreamLabel for Http { } } +// === impl Grpc === + impl filters::Apply for Grpc { #[inline] fn apply_request(&self, req: &mut ::http::Request) -> Result<()> {