diff --git a/src/convert.rs b/src/convert.rs index fb6fbfb..ebca8e2 100644 --- a/src/convert.rs +++ b/src/convert.rs @@ -102,7 +102,7 @@ impl<'a> IntoAttributeValue for &'a String { impl<'a> IntoAttributeValue for &'a str { fn into_attribute_value(self) -> Option { - Some((*self).to_owned()) + Some(self.to_owned()) } }