11//! Prepared statements
22
33use fallible_iterator:: FallibleIterator ;
4- use std:: cell:: { Cell , RefMut } ;
4+ use std:: cell:: Cell ;
55use std:: collections:: VecDeque ;
66use std:: fmt;
77use std:: io:: { self , Read , Write } ;
@@ -13,8 +13,8 @@ use error::Error;
1313use types:: { Type , ToSql } ;
1414use rows:: { Rows , LazyRows } ;
1515use transaction:: Transaction ;
16- use { bad_response, err, Connection , StatementInternals , Result , RowsNew , InnerConnection ,
17- LazyRowsNew , ColumnNew , StatementInfo , TransactionInternals } ;
16+ use { bad_response, err, Connection , StatementInternals , Result , RowsNew , LazyRowsNew , ColumnNew ,
17+ StatementInfo , TransactionInternals } ;
1818
1919/// A prepared statement.
2020pub struct Statement < ' conn > {
@@ -301,7 +301,7 @@ impl<'conn> Statement<'conn> {
301301 }
302302 } ;
303303
304- let mut info = CopyInfo {
304+ let info = CopyInfo {
305305 format : Format :: from_u16 ( format as u16 ) ,
306306 column_formats : column_formats,
307307 } ;
@@ -427,7 +427,7 @@ impl<'conn> Statement<'conn> {
427427 }
428428 } ;
429429
430- let mut info = CopyInfo {
430+ let info = CopyInfo {
431431 format : Format :: from_u16 ( format as u16 ) ,
432432 column_formats : column_formats,
433433 } ;
0 commit comments