From c68ce6e01e80ce5768687e4f0cb2055431e12607 Mon Sep 17 00:00:00 2001 From: Harry Barber <106155934+hlbarber@users.noreply.github.com> Date: Fri, 25 Nov 2022 12:40:39 +0000 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> --- rust-runtime/aws-smithy-http-server/src/plugin/mod.rs | 2 +- rust-runtime/aws-smithy-http-server/src/routing/route.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust-runtime/aws-smithy-http-server/src/plugin/mod.rs b/rust-runtime/aws-smithy-http-server/src/plugin/mod.rs index 1ddbc25c66..fa1c3c8e6f 100644 --- a/rust-runtime/aws-smithy-http-server/src/plugin/mod.rs +++ b/rust-runtime/aws-smithy-http-server/src/plugin/mod.rs @@ -20,7 +20,7 @@ //! let plugin = filter_by_operation_name(plugin, |name| name == "GetPokemonSpecies"); //! ``` //! -//! # Construct [`Plugin`] from Operation name closure +//! # Construct a [`Plugin`] from a closure that takes as input the operation name //! //! ``` //! # use aws_smithy_http_server::plugin::*; diff --git a/rust-runtime/aws-smithy-http-server/src/routing/route.rs b/rust-runtime/aws-smithy-http-server/src/routing/route.rs index d4c32425fd..67d7ec5353 100644 --- a/rust-runtime/aws-smithy-http-server/src/routing/route.rs +++ b/rust-runtime/aws-smithy-http-server/src/routing/route.rs @@ -48,7 +48,7 @@ use tower::{ /// A HTTP [`Service`] representing a single route. /// -/// The construction of [`Route`] from a named HTTP [`Service`] S, erases the type of `S`. +/// The construction of [`Route`] from a named HTTP [`Service`] `S`, erases the type of `S`. pub struct Route { service: BoxCloneService, Response, Infallible>, }