Remove std feature that got introduced in 1.36.0

std::convert::From<&std::string::String> for String was introduced in
1.36.0 and version below that version fail. Use `to_string()` instead to
make it build again.
embed
Manos Pitsidianakis 2019-10-24 12:29:08 +03:00
parent 212e9bd701
commit 63b984d854
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ impl ContactManager {
self.form.push(("URL".into(), self.card.url().to_string()));
self.form.push(("KEY".into(), self.card.key().to_string()));
for (k, v) in self.card.extra_properties() {
self.form.push((k.into(), v.to_string()));
self.form.push((k.to_string(), v.to_string()));
}
}