We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4c2e20 commit 6f2d883Copy full SHA for 6f2d883
1 file changed
lib.rs
@@ -613,7 +613,7 @@ impl PostgresConnection {
613
/// username if not specified.
614
pub fn try_connect(url: &str) -> Result<PostgresConnection,
615
PostgresConnectError> {
616
- do InnerPostgresConnection::try_connect(url).map_move |conn| {
+ do InnerPostgresConnection::try_connect(url).map |conn| {
617
PostgresConnection {
618
conn: Cell::new(conn)
619
}
@@ -797,7 +797,7 @@ impl<'self> PostgresTransaction<'self> {
797
/// Like `PostgresConnection::try_prepare`.
798
pub fn try_prepare<'a>(&'a self, query: &str)
799
-> Result<TransactionalPostgresStatement<'a>, PostgresDbError> {
800
- do self.conn.try_prepare(query).map_move |stmt| {
+ do self.conn.try_prepare(query).map |stmt| {
801
TransactionalPostgresStatement {
802
stmt: stmt
803
0 commit comments