Fix build error
Add a build of the library to travis to prevent regressions.
This commit is contained in:
@@ -7,3 +7,4 @@ before_script:
|
||||
- ./travis/setup.sh
|
||||
script:
|
||||
- rustpkg --cfg travis test
|
||||
- rustpkg build
|
||||
|
||||
3
lib.rs
3
lib.rs
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user