Skip to content

Commit

Permalink
Fix Inaccurate documentation on ProfileFileCredentialsProvider (smith…
Browse files Browse the repository at this point in the history
…y-lang#2421)

This commit addresses awslabs/aws-sdk-rust#746.

Co-authored-by: Yuki Saito <awsaito@amazon.com>
  • Loading branch information
ysaito1001 and ysaito1001 committed Feb 28, 2023
1 parent c3ae6f7 commit 049287d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions aws/rust-runtime/aws-config/src/profile/credentials.rs
Expand Up @@ -61,9 +61,8 @@ impl ProvideCredentials for ProfileFileCredentialsProvider {
/// let provider = ProfileFileCredentialsProvider::builder().build();
/// ```
///
/// _Note: Profile providers to not implement any caching. They will reload and reparse the profile
/// from the file system when called. See [CredentialsCache](aws_credential_types::cache::CredentialsCache) for
/// more information about caching._
/// _Note: Profile providers, when called, will load and parse the profile from the file system
/// only once. Parsed file contents will be cached indefinitely._
///
/// This provider supports several different credentials formats:
/// ### Credentials defined explicitly within the file
Expand Down

0 comments on commit 049287d

Please sign in to comment.