@@ -110,7 +110,7 @@ where
110110{
111111 /// Execute an insert operation
112112 #[ allow( unused_mut) ]
113- pub fn exec < ' a , C > ( self , db : & ' a C ) -> impl Future < Output = Result < InsertResult < A > , DbErr > > + ' _
113+ pub fn exec < ' a , C > ( self , db : & ' a C ) -> impl Future < Output = Result < InsertResult < A > , DbErr > > + ' a
114114 where
115115 C : ConnectionTrait ,
116116 A : ' a ,
@@ -134,7 +134,7 @@ where
134134 pub fn exec_without_returning < ' a , C > (
135135 self ,
136136 db : & ' a C ,
137- ) -> impl Future < Output = Result < u64 , DbErr > > + ' _
137+ ) -> impl Future < Output = Result < u64 , DbErr > > + ' a
138138 where
139139 <A :: Entity as EntityTrait >:: Model : IntoActiveModel < A > ,
140140 C : ConnectionTrait ,
@@ -147,7 +147,7 @@ where
147147 pub fn exec_with_returning < ' a , C > (
148148 self ,
149149 db : & ' a C ,
150- ) -> impl Future < Output = Result < <A :: Entity as EntityTrait >:: Model , DbErr > > + ' _
150+ ) -> impl Future < Output = Result < <A :: Entity as EntityTrait >:: Model , DbErr > > + ' a
151151 where
152152 <A :: Entity as EntityTrait >:: Model : IntoActiveModel < A > ,
153153 C : ConnectionTrait ,
@@ -171,7 +171,7 @@ where
171171 }
172172
173173 /// Execute an insert operation, returning the last inserted id
174- pub fn exec < ' a , C > ( self , db : & ' a C ) -> impl Future < Output = Result < InsertResult < A > , DbErr > > + ' _
174+ pub fn exec < ' a , C > ( self , db : & ' a C ) -> impl Future < Output = Result < InsertResult < A > , DbErr > > + ' a
175175 where
176176 C : ConnectionTrait ,
177177 A : ' a ,
@@ -183,7 +183,7 @@ where
183183 pub fn exec_without_returning < ' a , C > (
184184 self ,
185185 db : & ' a C ,
186- ) -> impl Future < Output = Result < u64 , DbErr > > + ' _
186+ ) -> impl Future < Output = Result < u64 , DbErr > > + ' a
187187 where
188188 C : ConnectionTrait ,
189189 A : ' a ,
@@ -195,7 +195,7 @@ where
195195 pub fn exec_with_returning < ' a , C > (
196196 self ,
197197 db : & ' a C ,
198- ) -> impl Future < Output = Result < <A :: Entity as EntityTrait >:: Model , DbErr > > + ' _
198+ ) -> impl Future < Output = Result < <A :: Entity as EntityTrait >:: Model , DbErr > > + ' a
199199 where
200200 <A :: Entity as EntityTrait >:: Model : IntoActiveModel < A > ,
201201 C : ConnectionTrait ,
0 commit comments