Updates for API changes

This commit is contained in:
Steven Fackler 2014-03-20 19:14:20 -07:00
parent 537203d3cb
commit ec82c45cc9
9 changed files with 4 additions and 13 deletions

View File

@ -3,7 +3,6 @@
use collections::HashMap; use collections::HashMap;
use std::from_str::FromStr; use std::from_str::FromStr;
use std::io::IoError; use std::io::IoError;
use std::vec_ng::Vec;
use openssl::ssl::error::SslError; use openssl::ssl::error::SslError;
use phf::PhfMap; use phf::PhfMap;

View File

@ -90,7 +90,6 @@ use std::io::net::tcp::TcpStream;
use std::mem; use std::mem;
use std::str; use std::str;
use std::task; use std::task;
use std::vec_ng::Vec;
use error::{DnsError, use error::{DnsError,
InvalidUrl, InvalidUrl,

View File

@ -1,8 +1,6 @@
use std::str; use std::str;
use std::io::{IoResult, MemWriter, MemReader}; use std::io::{IoResult, MemWriter, MemReader};
use std::mem; use std::mem;
use std::vec;
use std::vec_ng::Vec;
use types::Oid; use types::Oid;

View File

@ -2,7 +2,6 @@ use collections::{Deque, RingBuf};
use std::cell::Cell; use std::cell::Cell;
use std::from_str::FromStr; use std::from_str::FromStr;
use std::task; use std::task;
use std::vec_ng::Vec;
use PostgresConnection; use PostgresConnection;
use error::{PgDbError, use error::{PgDbError,

View File

@ -1,8 +1,7 @@
//! Multi-dimensional arrays with per-dimension specifiable lower bounds //! Multi-dimensional arrays with per-dimension specifiable lower bounds
use std::cast; use std::cast;
use std::vec; use std::slice;
use std::vec_ng::Vec;
/// Information about a dimension of an array /// Information about a dimension of an array
#[deriving(Eq, Clone, Show)] #[deriving(Eq, Clone, Show)]
@ -145,7 +144,7 @@ impl<T> ArrayBase<T> {
/// Returns an iterator over the values in this array, in the /// Returns an iterator over the values in this array, in the
/// higher-dimensional equivalent of row-major order. /// higher-dimensional equivalent of row-major order.
pub fn values<'a>(&'a self) -> vec::Items<'a, T> { pub fn values<'a>(&'a self) -> slice::Items<'a, T> {
self.data.iter() self.data.iter()
} }
} }

View File

@ -8,8 +8,6 @@ use serialize::json::Json;
use std::io::{MemWriter, BufReader}; use std::io::{MemWriter, BufReader};
use std::io::util::LimitReader; use std::io::util::LimitReader;
use std::str; use std::str;
use std::vec;
use std::vec_ng::Vec;
use time::Timespec; use time::Timespec;
use self::array::{Array, ArrayBase, DimensionInfo}; use self::array::{Array, ArrayBase, DimensionInfo};

View File

@ -1,7 +1,6 @@
//! Types dealing with ranges of values //! Types dealing with ranges of values
#[macro_escape]; #[macro_escape];
use std::cmp;
use std::fmt; use std::fmt;
use std::i32; use std::i32;
use std::i64; use std::i64;

@ -1 +1 @@
Subproject commit a881f7d0081b66ed0545231de0ab7a67114893bf Subproject commit 761901d0e409304450a49d784bae989d125c68b2

@ -1 +1 @@
Subproject commit 25d1640c9b44d77cdc3cec408d0c577948d31014 Subproject commit aecec520a41a70a4e9861dd4875232e3690907ea