From 07bd832a213c8e4366454bf7176bf639dfd5ce66 Mon Sep 17 00:00:00 2001 From: Harry Barber <106155934+hlbarber@users.noreply.github.com> Date: Thu, 15 Jun 2023 14:30:54 +0100 Subject: [PATCH] Relax bounds on `Scoped` (#2779) ## Motivation and Context I accidentally added this bound, it is not only redundant but its absence is one of the key benefits of this approach. --- CHANGELOG.next.toml | 2 +- rust-runtime/aws-smithy-http-server/src/plugin/scoped.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.next.toml b/CHANGELOG.next.toml index 7c4027206..2da07d6a1 100644 --- a/CHANGELOG.next.toml +++ b/CHANGELOG.next.toml @@ -405,7 +405,7 @@ let scoped_plugin = Scoped::new::(plugin); ``` """ -references = ["smithy-rs#2740", "smithy-rs#2759"] +references = ["smithy-rs#2740", "smithy-rs#2759", "smithy-rs#2779"] meta = { "breaking" = true, "tada" = false, "bug" = false } author = "hlbarber" diff --git a/rust-runtime/aws-smithy-http-server/src/plugin/scoped.rs b/rust-runtime/aws-smithy-http-server/src/plugin/scoped.rs index 700d17435..64dc17ab8 100644 --- a/rust-runtime/aws-smithy-http-server/src/plugin/scoped.rs +++ b/rust-runtime/aws-smithy-http-server/src/plugin/scoped.rs @@ -94,7 +94,6 @@ impl Plugin for Scoped where Scope: Membership, Scope::Contains: ConditionalApply, - Pl: Plugin, { type Service = >::Service; -- GitLab