From 78908aecf67601f145669ae9884ef0c87f42354c Mon Sep 17 00:00:00 2001 From: Fahad Zubair Date: Thu, 11 Jul 2024 16:21:37 +0100 Subject: [PATCH] Fix docs to refer to `EnvConfigFileKind` --- aws/rust-runtime/aws-runtime/src/env_config/file.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/rust-runtime/aws-runtime/src/env_config/file.rs b/aws/rust-runtime/aws-runtime/src/env_config/file.rs index 7057e5661b..93b088461e 100644 --- a/aws/rust-runtime/aws-runtime/src/env_config/file.rs +++ b/aws/rust-runtime/aws-runtime/src/env_config/file.rs @@ -21,12 +21,12 @@ use std::path::PathBuf; /// # Example: Using a custom profile file path /// /// ```no_run,ignore -/// use aws_runtime::env_config::file::{EnvConfigFiles, SharedConfigFileKind}; +/// use aws_runtime::env_config::file::{EnvConfigFiles, EnvConfigFileKind}; /// use std::sync::Arc; /// /// # async fn example() { /// let profile_files = EnvConfigFiles::builder() -/// .with_file(SharedConfigFileKind::Credentials, "some/path/to/credentials-file") +/// .with_file(EnvConfigFileKind::Credentials, "some/path/to/credentials-file") /// .build(); /// let sdk_config = aws_config::from_env() /// .profile_files(profile_files)