Skip to content

Commit 5f22e87

Browse files
joshtriplettjmklixZelda Hesslerdavid-perez
authored
Fix typos (#3822)
_By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ --------- Co-authored-by: Joseph Klix <jmklix@gmail.com> Co-authored-by: Zelda Hessler <zhessler@amazon.com> Co-authored-by: david-perez <d@vidp.dev>
1 parent 97ff93f commit 5f22e87

File tree

1 file changed

+2
-2
lines changed
  • aws/rust-runtime/aws-config/src/imds

1 file changed

+2
-2
lines changed

aws/rust-runtime/aws-config/src/imds/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ fn user_agent() -> AwsUserAgent {
8989
/// use aws_config::imds::client::Client;
9090
/// # async fn docs() {
9191
/// let client = Client::builder()
92-
/// .endpoint("http://customidms:456/").expect("valid URI")
92+
/// .endpoint("http://customimds:456/").expect("valid URI")
9393
/// .build();
9494
/// # }
9595
/// ```
9696
///
9797
/// 2. The `AWS_EC2_METADATA_SERVICE_ENDPOINT` environment variable. Note: If this environment variable
98-
/// is set, it MUST contain to a valid URI or client construction will fail.
98+
/// is set, it MUST contain a valid URI or client construction will fail.
9999
///
100100
/// 3. The `ec2_metadata_service_endpoint` field in `~/.aws/config`:
101101
/// ```ini

0 commit comments

Comments
 (0)