From ce487e9d003c7f3a9895e6c56124cfd11383d543 Mon Sep 17 00:00:00 2001 From: John DiSanti Date: Wed, 11 Oct 2023 10:20:33 -0700 Subject: [PATCH] Fix doc comment --- rust-runtime/aws-smithy-runtime-api/src/client/identity.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust-runtime/aws-smithy-runtime-api/src/client/identity.rs b/rust-runtime/aws-smithy-runtime-api/src/client/identity.rs index cd57910033a..f3dcb9c2154 100644 --- a/rust-runtime/aws-smithy-runtime-api/src/client/identity.rs +++ b/rust-runtime/aws-smithy-runtime-api/src/client/identity.rs @@ -27,11 +27,11 @@ new_type_future! { /// identity resolvers, which are selected from runtime components by the auth scheme /// implementation itself. /// -/// The identity resolver must return a [`Future`] with the resolved identity, or an error +/// The identity resolver must return an [`IdentityFuture`] with the resolved identity, or an error /// if resolution failed. There is no optionality for identity resolvers. The identity either /// resolves successfully, or it fails. The orchestrator will choose exactly one auth scheme /// to use, and thus, its chosen identity resolver is the only identity resolver that runs. -/// There is no fallback to other auth schemes in the absense of an identity. +/// There is no fallback to other auth schemes in the absence of an identity. pub trait IdentityResolver: Send + Sync + Debug { /// Asynchronously resolves an identity for a request using the given config. fn resolve_identity(&self, config_bag: &ConfigBag) -> IdentityFuture;