From f01a08a3cecab66427d97dac4c67998dacafb8dc Mon Sep 17 00:00:00 2001 From: 82marbag <69267416+82marbag@users.noreply.github.com> Date: Fri, 16 Sep 2022 10:21:32 +0200 Subject: [PATCH] Fix docs Signed-off-by: Daniele Ahmed --- rust-runtime/aws-smithy-http-server/src/plugin.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {}