diff --git a/.travis.yml b/.travis.yml index b5907674..afd96313 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,3 +7,4 @@ before_script: - ./travis/setup.sh script: - rustpkg --cfg travis test + - rustpkg build diff --git a/lib.rs b/lib.rs index 01abbcc6..4a073e4f 100644 --- a/lib.rs +++ b/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)