mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
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