File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ pub trait AnyJson: crate::database::Database {
6262 A : crate :: arguments:: Arguments < ' a , Database = Self > ;
6363
6464 #[ cfg( feature = "json" ) ]
65- fn decode_json < ' a > (
66- value : <Self as crate :: database:: Database >:: ValueRef < ' a > ,
65+ fn decode_json (
66+ value : <Self as crate :: database:: Database >:: ValueRef < ' _ > ,
6767 ) -> Result < Box < serde_json:: value:: RawValue > , crate :: error:: BoxDynError > ;
6868}
6969
8989 args. add ( crate :: types:: Json ( value) )
9090 }
9191
92- fn decode_json < ' a > (
93- value : <Self as crate :: database:: Database >:: ValueRef < ' a > ,
92+ fn decode_json (
93+ value : <Self as crate :: database:: Database >:: ValueRef < ' _ > ,
9494 ) -> Result < Box < serde_json:: value:: RawValue > , crate :: error:: BoxDynError > {
9595 use crate :: decode:: Decode ;
9696 <crate :: types:: Json < Box < serde_json:: value:: RawValue > > >:: decode ( value) . map ( |j| j. 0 )
You can’t perform that action at this time.
0 commit comments