this will already get auto-dereferenced

This commit is contained in:
lumi 2017-05-22 16:15:26 +02:00
parent 49d25968cb
commit 3223fc11fe

View file

@ -102,7 +102,7 @@ impl<'a> IntoAttributeValue for &'a String {
impl<'a> IntoAttributeValue for &'a str { impl<'a> IntoAttributeValue for &'a str {
fn into_attribute_value(self) -> Option<String> { fn into_attribute_value(self) -> Option<String> {
Some((*self).to_owned()) Some(self.to_owned())
} }
} }