From 63b984d8548840b274a0abe96d9b0e21d6459727 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Thu, 24 Oct 2019 12:29:08 +0300 Subject: [PATCH] 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. --- ui/src/components/contacts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/contacts.rs b/ui/src/components/contacts.rs index cd1fb8fb..2fe13172 100644 --- a/ui/src/components/contacts.rs +++ b/ui/src/components/contacts.rs @@ -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())); } }