Updates for library changes

This commit is contained in:
Steven Fackler 2014-02-10 19:20:53 -08:00
parent dfb61df672
commit 835f745be2
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
export RUSTC = rustc export RUSTC = rustc
RUSTDOC = rustdoc RUSTDOC = rustdoc
export RUSTFLAGS = -O -Z extra-debug-info --cfg ndebug export RUSTFLAGS = -O -g --cfg ndebug
BUILDDIR = build BUILDDIR = build
INSTALL_DIR = %PREFIX% INSTALL_DIR = %PREFIX%

View File

@ -87,7 +87,7 @@ use std::io::net::tcp::TcpStream;
use std::io::net; use std::io::net;
use std::str; use std::str;
use std::task; use std::task;
use std::util; use std::mem;
use error::{PostgresDbError, use error::{PostgresDbError,
PgConnectDbError, PgConnectDbError,
@ -539,7 +539,7 @@ impl InnerPostgresConnection {
fn set_notice_handler(&mut self, handler: ~PostgresNoticeHandler) fn set_notice_handler(&mut self, handler: ~PostgresNoticeHandler)
-> ~PostgresNoticeHandler { -> ~PostgresNoticeHandler {
util::replace(&mut self.notice_handler, handler) mem::replace(&mut self.notice_handler, handler)
} }
fn try_prepare<'a>(&mut self, query: &str, conn: &'a PostgresConnection) fn try_prepare<'a>(&mut self, query: &str, conn: &'a PostgresConnection)

@ -1 +1 @@
Subproject commit 360fa1f04b575b2070f46611d9db3a852ab4a9d5 Subproject commit 7c1de97cbfbff47600f90e4904bab85f3d77b4cf

@ -1 +1 @@
Subproject commit 16947cf75b2f49de80c86efb070e988a935cc1e7 Subproject commit 116dd4020445604771d191a64f49da55f95174d1