diff --git a/src/view/view_wrapper.rs b/src/view/view_wrapper.rs index 392f235..7dd70f2 100644 --- a/src/view/view_wrapper.rs +++ b/src/view/view_wrapper.rs @@ -114,7 +114,7 @@ impl View for T { /// ``` #[macro_export] macro_rules! wrap_impl { - (self.$v:ident: $t:path) => { + (self.$v:ident: $t:ty) => { type V = $t; fn get_view(&self) -> &Self::V {