this will already get auto-dereferenced
This commit is contained in:
parent
49d25968cb
commit
3223fc11fe
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue