summaryrefslogtreecommitdiff
path: root/src/view/mod.rs
diff options
context:
space:
mode:
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>;