Unverified Commit 07bd832a authored by Harry Barber's avatar Harry Barber Committed by GitHub
Browse files

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.
parent 3f6f4994
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -405,7 +405,7 @@ let scoped_plugin = Scoped::new::<SomeScope>(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"

+0 −1
Original line number Diff line number Diff line
@@ -94,7 +94,6 @@ impl<P, Op, S, Scope, Pl> Plugin<P, Op, S> for Scoped<Scope, Pl>
where
    Scope: Membership<Op>,
    Scope::Contains: ConditionalApply<P, Op, S, Pl>,
    Pl: Plugin<P, Op, S>,
{
    type Service = <Scope::Contains as ConditionalApply<P, Op, S, Pl>>::Service;