File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ pub fn impl_value_delegate(input: ValueDelegateInput) -> syn::Result<proc_macro:
132
132
impl #crate_ident:: value:: ToValueOptional for #ident {
133
133
fn to_value_optional( s: Option <& Self >) -> #crate_ident:: value:: Value {
134
134
if let Some ( this) = s {
135
- Some ( & #delegate_value) . to_value ( )
135
+ #crate_ident :: value :: ToValue :: to_value ( & Some ( & #delegate_value) )
136
136
} else {
137
137
#crate_ident:: value:: ToValueOptional :: to_value_optional( None :: <& #delegated_ty>)
138
138
}
@@ -155,11 +155,11 @@ pub fn impl_value_delegate(input: ValueDelegateInput) -> syn::Result<proc_macro:
155
155
impl #crate_ident:: value:: ToValue for #ident {
156
156
fn to_value( & self ) -> #crate_ident:: value:: Value {
157
157
let this = self ;
158
- #delegate_value . to_value( )
158
+ #crate_ident :: value :: ToValue :: to_value( & #delegate_value )
159
159
}
160
160
fn value_type( & self ) -> #crate_ident:: types:: Type {
161
161
let this = self ;
162
- #delegate_value . value_type( )
162
+ #crate_ident :: value :: ToValue :: value_type( & #delegate_value )
163
163
}
164
164
}
165
165
You can’t perform that action at this time.
0 commit comments