Unverified Commit 5f22e875 authored by Josh Triplett's avatar Josh Triplett Committed by GitHub
Browse files

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: default avatarJoseph Klix <jmklix@gmail.com>
Co-authored-by: default avatarZelda Hessler <zhessler@amazon.com>
Co-authored-by: default avatardavid-perez <d@vidp.dev>
parent 97ff93f7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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