Fix build error

Add a build of the library to travis to prevent regressions.
This commit is contained in:
Steven Fackler
2013-11-07 21:51:28 -08:00
parent 7a19eaf6d3
commit 8e41ccd177
2 changed files with 2 additions and 2 deletions

View File

@@ -7,3 +7,4 @@ before_script:
- ./travis/setup.sh
script:
- rustpkg --cfg travis test
- rustpkg build

3
lib.rs
View File

@@ -69,7 +69,6 @@ fn main() {
extern mod extra;
use std;
use extra::container::Deque;
use extra::ringbuf::RingBuf;
use extra::url::{UserInfo, Url};
@@ -542,7 +541,7 @@ impl InnerPostgresConnection {
fn set_notice_handler(&mut self, handler: ~PostgresNoticeHandler)
-> ~PostgresNoticeHandler {
std::util::replace(&mut self.notice_handler, handler)
::std::util::replace(&mut self.notice_handler, handler)
}
fn try_prepare<'a>(&mut self, query: &str, conn: &'a PostgresConnection)