From f832b66f996dbf38106b68666c79bc02cd6902ad Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Wed, 1 May 2024 13:24:46 +0200 Subject: [PATCH] chore: rm uneccessary trait bounds (#8019) --- crates/rpc/rpc/src/layers/auth_layer.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/rpc/rpc/src/layers/auth_layer.rs b/crates/rpc/rpc/src/layers/auth_layer.rs index 0137fcd0c9..ed22d607c1 100644 --- a/crates/rpc/rpc/src/layers/auth_layer.rs +++ b/crates/rpc/rpc/src/layers/auth_layer.rs @@ -44,11 +44,7 @@ pub struct AuthLayer { validator: V, } -impl AuthLayer -where - V: AuthValidator, - V::ResponseBody: Body, -{ +impl AuthLayer { /// Creates an instance of [`AuthLayer`]. /// `validator` is a generic trait able to validate requests (see [`AuthValidator`]). pub fn new(validator: V) -> Self {