@@ -96,7 +96,7 @@ pub mod methods {
96
96
U : Send ,
97
97
T : AsQuery + Send ,
98
98
T :: SqlType : CompatibleType < U , DB , SqlType = ST > ,
99
- U : FromSqlRow < ST , DB > + Send + ' static ,
99
+ U : FromSqlRow < ST , DB > + Send ,
100
100
DB : QueryMetadata < T :: SqlType > ,
101
101
{
102
102
type LoadFuture = futures:: future:: MapOk <
@@ -115,13 +115,12 @@ pub mod methods {
115
115
where
116
116
Conn : AsyncConnection < Backend = DB > ,
117
117
U : Send ,
118
- DB : Backend + ' static ,
118
+ DB : Backend ,
119
119
T : AsQuery + Send + ' query ,
120
120
T :: Query : QueryFragment < DB > + QueryId + Send + ' query ,
121
121
T :: SqlType : CompatibleType < U , DB , SqlType = ST > ,
122
- U : FromSqlRow < ST , DB > + Send + ' static ,
122
+ U : FromSqlRow < ST , DB > + Send ,
123
123
DB : QueryMetadata < T :: SqlType > ,
124
- ST : ' static ,
125
124
{
126
125
fn internal_load < ' conn > (
127
126
self ,
@@ -142,9 +141,8 @@ pub mod methods {
142
141
where
143
142
S : Stream < Item = QueryResult < R > > + Send + ' s ,
144
143
R : diesel:: row:: Row < ' a , DB > + ' s ,
145
- DB : Backend + ' static ,
146
- U : FromSqlRow < ST , DB > + ' static ,
147
- ST : ' static ,
144
+ DB : Backend ,
145
+ U : FromSqlRow < ST , DB > ,
148
146
{
149
147
stream. map ( map_row_helper :: < _ , DB , U , ST > )
150
148
}
0 commit comments