this will already get auto-dereferenced

lumi created

Change summary

src/convert.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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<String> {
-        Some((*self).to_owned())
+        Some(self.to_owned())
     }
 }