We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42dc27e commit f166e6cCopy full SHA for f166e6c
aws/rust-runtime/aws-config/src/sts/assume_role.rs
@@ -204,8 +204,8 @@ impl AssumeRoleProviderBuilder {
204
///
205
/// A list of session tags that you want to pass. Each session tag consists of a key name and an associated value.
206
/// For more information, see `[Tag]`.
207
- pub fn tags(mut self, tags: Vec<Tag>) -> Self {
208
- self.tags = Some(tags);
+ pub fn tags(mut self, tags: impl Into<Vec<Tag>>) -> Self {
+ self.tags = Some(tags.into());
209
self
210
}
211
0 commit comments