diff --git a/src/convert.rs b/src/convert.rs index fb6fbfb03159c8964dc559a9844619fb986fc6ac..ebca8e2a0629070ceb0ca1c239ca21d861637014 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()) } }