Skip to content

Commit 8e41ccd

Browse files
committed
Fix build error
Add a build of the library to travis to prevent regressions.
1 parent 7a19eaf commit 8e41ccd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ before_script:
77
- ./travis/setup.sh
88
script:
99
- rustpkg --cfg travis test
10+
- rustpkg build

lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ fn main() {
6969

7070
extern mod extra;
7171

72-
use std;
7372
use extra::container::Deque;
7473
use extra::ringbuf::RingBuf;
7574
use extra::url::{UserInfo, Url};
@@ -542,7 +541,7 @@ impl InnerPostgresConnection {
542541

543542
fn set_notice_handler(&mut self, handler: ~PostgresNoticeHandler)
544543
-> ~PostgresNoticeHandler {
545-
std::util::replace(&mut self.notice_handler, handler)
544+
::std::util::replace(&mut self.notice_handler, handler)
546545
}
547546

548547
fn try_prepare<'a>(&mut self, query: &str, conn: &'a PostgresConnection)

0 commit comments

Comments
 (0)