summaryrefslogtreecommitdiff
path: root/src/view/mod.rs
diff options
context:
space:
mode:
authorjelemux <jeremias.weber@protonmail.com>2021-01-28 22:24:32 +0100
committerjelemux <jeremias.weber@protonmail.com>2021-01-28 22:24:32 +0100
commit94a0e361e180223adf2bc9760c8810dfa3c2681f (patch)
treed29de5300d0ff0ba636f48eca8df43bb5256b49c /src/view/mod.rs
parent3f0892368bcf475fdae39f24ef51b82b3013535f (diff)
downloadwasm-card-94a0e361e180223adf2bc9760c8810dfa3c2681f.tar.gz
wasm-card-94a0e361e180223adf2bc9760c8810dfa3c2681f.tar.bz2
use different vcard library
Diffstat (limited to 'src/view/mod.rs')
-rw-r--r--src/view/mod.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/view/mod.rs b/src/view/mod.rs
index f208c44..7a64fed 100644
--- a/src/view/mod.rs
+++ b/src/view/mod.rs
@@ -9,10 +9,7 @@ pub mod name;
pub mod address;
pub mod telephone;
-pub trait VCardPropertyInputComponent<P, T>: Component
- where P: vcard::properties::Property,
- T: VCardPropertyInputObject<P, Self>
-{
+pub trait VCardPropertyInputComponent<T: VCardPropertyInputObject<Self>>: Component {
fn get_input_object(&self) -> T;
fn get_title(&self) -> String;
fn get_error(&self) -> Option<Error>;