diff --git a/rust-runtime/aws-smithy-http-server/src/plugin.rs b/rust-runtime/aws-smithy-http-server/src/plugin.rs index ff20a5758d..8ba1f5747a 100644 --- a/rust-runtime/aws-smithy-http-server/src/plugin.rs +++ b/rust-runtime/aws-smithy-http-server/src/plugin.rs @@ -15,8 +15,8 @@ use crate::operation::Operation; /// # struct PrintPlugin; /// # use aws_smithy_http_server::plugin::Pluggable; /// trait PrintExt: Pluggable { -/// fn print(self) -> Self::Output { -/// self.apply(&PrintPlugin); +/// fn print(self) -> Self::Output where Self: Sized { +/// self.apply(PrintPlugin) /// } /// } /// impl PrintExt for Builder where Builder: Pluggable {}