Skip to content

Commit

Permalink
Fix doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jdisanti committed Oct 11, 2023
1 parent a2d0f25 commit ce487e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust-runtime/aws-smithy-runtime-api/src/client/identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ce487e9

Please sign in to comment.