From 5f22e875451be899e48f9f365c04c48d405e4ecf Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Tue, 24 Dec 2024 08:14:33 -0800 Subject: [PATCH] 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 Co-authored-by: Zelda Hessler Co-authored-by: david-perez --- aws/rust-runtime/aws-config/src/imds/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/rust-runtime/aws-config/src/imds/client.rs b/aws/rust-runtime/aws-config/src/imds/client.rs index 687f50680..49408fcb4 100644 --- a/aws/rust-runtime/aws-config/src/imds/client.rs +++ b/aws/rust-runtime/aws-config/src/imds/client.rs @@ -89,13 +89,13 @@ fn user_agent() -> AwsUserAgent { /// use aws_config::imds::client::Client; /// # async fn docs() { /// let client = Client::builder() -/// .endpoint("http://customidms:456/").expect("valid URI") +/// .endpoint("http://customimds:456/").expect("valid URI") /// .build(); /// # } /// ``` /// /// 2. The `AWS_EC2_METADATA_SERVICE_ENDPOINT` environment variable. Note: If this environment variable -/// is set, it MUST contain to a valid URI or client construction will fail. +/// is set, it MUST contain a valid URI or client construction will fail. /// /// 3. The `ec2_metadata_service_endpoint` field in `~/.aws/config`: /// ```ini -- GitLab