File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1088,7 +1088,7 @@ impl<'conn> PostgresTransaction<'conn> {
10881088 check_desync ! ( self . conn) ;
10891089 stmt. lazy_query ( row_limit, params) . map ( |result| {
10901090 PostgresLazyRows {
1091- trans : self ,
1091+ _trans : self ,
10921092 result : result
10931093 }
10941094 } )
@@ -1520,7 +1520,7 @@ impl<'a> RowIndex for &'a str {
15201520/// A lazily-loaded iterator over the resulting rows of a query
15211521pub struct PostgresLazyRows < ' trans , ' stmt > {
15221522 result : PostgresRows < ' stmt > ,
1523- trans : & ' trans PostgresTransaction < ' trans > ,
1523+ _trans : & ' trans PostgresTransaction < ' trans > ,
15241524}
15251525
15261526impl < ' trans , ' stmt > PostgresLazyRows < ' trans , ' stmt > {
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ pub enum BackendMessage {
5252 ParseComplete ,
5353 PortalSuspended ,
5454 ReadyForQuery {
55- pub state : u8
55+ pub _state : u8
5656 } ,
5757 RowDescription {
5858 pub descriptions : Vec < RowDescriptionEntry >
@@ -287,7 +287,7 @@ impl<R: Reader> ReadMessage for R {
287287 } ,
288288 't' => try!( read_parameter_description ( & mut buf) ) ,
289289 'T' => try!( read_row_description ( & mut buf) ) ,
290- 'Z' => ReadyForQuery { state : try!( buf. read_u8 ( ) ) } ,
290+ 'Z' => ReadyForQuery { _state : try!( buf. read_u8 ( ) ) } ,
291291 ident => fail ! ( "Unknown message identifier `{}`" , ident)
292292 } ;
293293 Ok ( ret)
You can’t perform that action at this time.
0 commit comments